Bug #24871 | NPE when useCursorFetch and defaultFetchSize is set | ||
---|---|---|---|
Submitted: | 7 Dec 2006 2:16 | Modified: | 7 Dec 2006 13:30 |
Reporter: | Yuan WANG | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 5.0.4 | OS: | Linux (linux) |
Assigned to: | CPU Architecture: | Any |
[7 Dec 2006 2:16]
Yuan WANG
[7 Dec 2006 9:23]
Tonci Grgin
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.mysql.com/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to 'Open'. Thank you for your interest in MySQL. Explanation: What is the MySQL server version you're using? useCursorFetch If connected to MySQL > 5.0.2, and setFetchSize() > 0 on a statement, should that statement use cursor-based fetching to retrieve rows?
[7 Dec 2006 9:32]
Tonci Grgin
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at http://dev.mysql.com/doc/en/installing-source.html Explanation: This problem is fixed with patch for BUG#24360 nn-nn-06 - Version 5.0.5 - Fixed BUG#24360 .setFetchSize() breaks prepared SHOW and other commands. and can't be repeated in my tests.
[7 Dec 2006 13:30]
Yuan WANG
The version of mysql server is 5.1.12-beta-debug