aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-11 18:41:49 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-11 18:41:49 +0000
commitf75f70ecc3a72e771bee6e1a73944836d0883c53 (patch)
tree245bb95f2c090ac0a182a0ccfe3fa3f188632fb6 /Source/CustomQuery.m
parenta4911754d0fba5909c5bb35157aff8032c47bc2b (diff)
downloadsequelpro-f75f70ecc3a72e771bee6e1a73944836d0883c53.tar.gz
sequelpro-f75f70ecc3a72e771bee6e1a73944836d0883c53.tar.bz2
sequelpro-f75f70ecc3a72e771bee6e1a73944836d0883c53.zip
• fix to allow insert large blob data
If a query gave the error 2006 (server has gone away) try to increase max_allowed_packet - if the user has SUPER privileges - and redo the query. If max_allowed_packet was changed reset it to default after executing. In addition if error 2006 occurred and max_allowed_packet can't be set write an additional error message to the log "(Please check if query size < max_allowed_packet)". - 10MB of data are no problem - while trying to insert 67MB MySQL gave the error : ... X'(null)' plus malloc: mmap(size=141287424) failed (error code=12); can't allocate region
Diffstat (limited to 'Source/CustomQuery.m')
0 files changed, 0 insertions, 0 deletions