diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-06-11 18:41:49 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-06-11 18:41:49 +0000 |
commit | f75f70ecc3a72e771bee6e1a73944836d0883c53 (patch) | |
tree | 245bb95f2c090ac0a182a0ccfe3fa3f188632fb6 /UnitTests/mcpKitTest.m | |
parent | a4911754d0fba5909c5bb35157aff8032c47bc2b (diff) | |
download | sequelpro-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 'UnitTests/mcpKitTest.m')
0 files changed, 0 insertions, 0 deletions