Bug #56765 | select from subquery with user variable gets wrong result | ||
---|---|---|---|
Submitted: | 14 Sep 2010 7:48 | Modified: | 14 Sep 2010 17:48 |
Reporter: | Xindong Su | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.1.50-community | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[14 Sep 2010 7:48]
Xindong Su
[14 Sep 2010 7:52]
Xindong Su
attachment is uploaded to ftp. file name is bug-data-56765.zip
[14 Sep 2010 17:48]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php You assign values to a variable while query is running. This value depends from execution plan which is different for these 2 queries.