Bug #4718 Prepared statements with LIMIT criteria fail when the limit is a parameter.
Submitted: 23 Jul 2004 12:06 Modified: 5 Feb 2005 7:25
Reporter: Chris Wood
Status: Closed
Category:Connector/J Severity:S2 (Serious)
Version:3.1.3-beta OS:
Assigned to: Mark Matthews Target Version:

File: Maximum allowed size is 500KB.
Description:
Privacy:

If the data you need to attach is more than 500KB, you should create a compressed archive of the data and a README file that describes the data with a filename that includes the bug number (example: bug-data-4718.zip), and use FTP to upload the archive to ftp://ftp.mysql.com/pub/mysql/upload/. Once you have uploaded the file, add a comment to this bug to notify us about it. Note: This directory is unlistable, which means that once you have uploaded your file, you will not be able to see it.

All entries become the exclusive editorial property of Sun Microsystems, Inc.

[23 Jul 2004 12:06] Chris Wood
Test case that demonstrates the issue.

Attachment: PreparedStatementWithLimitTest.java (text/plain), 2.50 KiB.

[23 Jul 2004 12:07] Chris Wood
Fixed Connection class.

Attachment: Connection.java (text/plain), 151.70 KiB.