Bug #40974 Incorrect query results when using clause evaluated using range check
Submitted: 24 Nov 2008 12:42 Modified: 28 Jan 23:00
Reporter: David Heath
Status: Closed
Category:Server: Optimizer Severity:S2 (Serious)
Version:5.0/5.1/6.0 OS:Any
Assigned to: Bugs System Target Version:5.0+
Triage: Triaged: D2 (Serious) / R2 (Low) / E2 (Low)

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-40974.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.

[24 Nov 2008 12:43] David Heath
Steps to reproduce this bug

Attachment: mysql-bug-repro.sql (application/octet-stream, text), 15.50 KiB.

[24 Nov 2008 12:46] David Heath
Small edit for clarity

Attachment: mysql-bug-repro.sql (application/octet-stream, text), 16.14 KiB.