Bug #57074 | mysql_store_result() fails if compression is enabled | ||
---|---|---|---|
Submitted: | 28 Sep 2010 17:24 | Modified: | 6 Oct 2010 19:34 |
Reporter: | Jan Kneschke | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: C API (client library) | Severity: | S3 (Non-critical) |
Version: | 5.5.2, probably all versions, 5.0, 5.1, 5.6.99 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[28 Sep 2010 17:24]
Jan Kneschke
[28 Sep 2010 18:20]
Sveta Smirnova
Thank you for the report. Verified as described.
[28 Sep 2010 18:24]
Valeriy Kravchuk
Verified also with current mysql-5.5 from bzr on Mac OS X: macbook-pro:5.5 openxs$ echo 'set GLOBAL max_allowed_packet = 32 * 1024 * 1024;' | mysql bin/mysql -uroot test -bash: mysql: command not found macbook-pro:5.5 openxs$ echo 'set GLOBAL max_allowed_packet = 32 * 1024 * 1024;' | bin/mysql -uroot test macbook-pro:5.5 openxs$ echo 'select repeat("a", 256 * 256 * 256 * 1 - 5); ' | bin/mysql -uroot test --max_allowed_packet=335544320 --compress > /dev/null ERROR 2013 (HY000) at line 1: Lost connection to MySQL server during query macbook-pro:5.5 openxs$ echo 'select repeat("a", 256 * 256 * 256 * 2 - 11); ' | bin/mysql -uroot test --max_allowed_packet=335544320 --compress > /dev/null ERROR 2013 (HY000) at line 1: Lost connection to MySQL server during query macbook-pro:5.5 openxs$ echo 'select repeat("a", 256 * 256 * 256 - 100); ' | bin/mysql -uroot test --max_allowed_packet=335544320 --compress > /dev/null macbook-pro:5.5 openxs$ bin/mysql --version bin/mysql Ver 14.14 Distrib 5.5.7-rc, for apple-darwin9.6.0 (i386) using readline 5.1
[28 Sep 2010 18:32]
Mark Matthews
Connector/J is not affected. If there is a protocol change to fix this, please let all non-libmysql driver maintainers know. Thank you.
[28 Sep 2010 18:37]
Peter Laursen
My God ... what a bug! Ggrrrrr! (everybody is welcome to comment on a bug - right?)
[6 Oct 2010 19:34]
Konstantin Osipov
A duplicate of Bug#42503.