[Qt-interest] QtSql - fail to send blob data

Philipp Tkachev zoonman at gmail.com
Wed Sep 7 19:42:11 CEST 2011


Hi Cyril,

I think, you should prevent binary data from corruption by using
base64encode-like function.
CONCAT operates with strings. Your binary data may be corrupted when
you try to concatenate them.

Also, try to run this SQL before data insertion:

SET SESSION max_allowed_packet=1024*1024*50;


-- 
Sincerely, Philipp Tkachev.
Jabber: zoonman at jabber.ru
http://www.zoonman.com/



More information about the Qt-interest-old mailing list