Bug #74998 | readRemainingMultiPackets not computed correctly for rows larger than 16 MB | ||
---|---|---|---|
Submitted: | 25 Nov 2014 18:11 | Modified: | 27 Jan 2015 17:10 |
Reporter: | Spencer Woodworth (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 5.1.34 | OS: | Any |
Assigned to: | Filipe Silva | CPU Architecture: | Any |
[25 Nov 2014 18:11]
Spencer Woodworth
[26 Nov 2014 0:15]
Spencer Woodworth
Create Table
Attachment: sharedTest.sql.gz (application/x-tar-gz, text), 64.61 KiB.
[26 Nov 2014 0:16]
Spencer Woodworth
Test Program
Attachment: TestCursor.java (application/octet-stream, text), 2.57 KiB.
[26 Nov 2014 0:17]
Spencer Woodworth
I have uploaded a test program and some cleansed data with the correct shape to reproduce the error.
[28 Nov 2014 9:40]
Filipe Silva
Hi Spencer, Thank you for this bug report. Nice catch! The Connector/J behaves as you described, however your test case + data doesn't hit the exact point of failure in my environment. I'm sure that's because you're getting data in different order but with some changes this can be reproduced.
[12 Dec 2014 22:30]
Daniel So
Added the following entry to the Connector/J 5.1.35 changelog: "The readRemainingMultiPackets method in the MysqlIO class returned incorrect results when a row was larger than 16MB in size. This fix corrects the wrong type conversion occurred during the calculation, which caused the problem."
[9 Jan 2015 17:25]
Spencer Woodworth
Hi Daniel, Do you have any time-frame for the release of version 5.1.35?
[27 Jan 2015 17:10]
Spencer Woodworth
Filipe or Daniel, can you please provide an update on the official release of this fix. The issue has been 'closed' for about 6 weeks. There are still no entries in the 5.1.35 changelog - http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1-35.html
[4 Feb 2015 19:44]
Filipe Silva
Hi Spencer, You should expect that this bug will be fixed in Connector/J 5.1.35 when it's released. But, I'm sorry, I can't add anything more that that. You should subscribe our announcement list (http://lists.mysql.com/announce) to get notified when this happens. Thank you,