Bug #39639 | unexpected results in subquery using comparison function in across databases | ||
---|---|---|---|
Submitted: | 25 Sep 2008 1:07 | Modified: | 25 Sep 2008 8:35 |
Reporter: | Mark Nipper | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.51a-12 | OS: | Linux (Debian x86-64 2.6.26) |
Assigned to: | CPU Architecture: | Any |
[25 Sep 2008 1:07]
Mark Nipper
[25 Sep 2008 1:08]
Mark Nipper
sample data set illustrating potential subquery bug
Attachment: dbs.sql.bz2 (application/x-bzip, text), 471.01 KiB.
[25 Sep 2008 3:44]
Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 5.0.67, and inform about the results.
[25 Sep 2008 7:12]
Mark Nipper
Okay, I just compiled the latest Ubuntu version of MySQL under Debian, so I'm now running 5.0.67-0ubuntu6. Strangely enough, problem query returns no results at all. So now I'm really confused. Is the query somehow malformed? Why would it return results, albeit seemingly incorrectly, under 5.0.51 but nothing at all under 5.0.67?
[25 Sep 2008 8:35]
Sveta Smirnova
Thank you for the feedback. If look into result below: mysql> select session_id from bug2.user_session join bug.quote_session using (session_id); Empty set (0.10 sec) there is no records in the table bug2.user_session which satisfy condition. So results of 5.0.67 seems to be correct. So I close the report as "Can't repeat". If you can show they are not feel free to reopen the report.