Bug #8562 | Join using bigint unsigned columns fails | ||
---|---|---|---|
Submitted: | 17 Feb 2005 3:38 | Modified: | 9 Mar 2005 3:16 |
Reporter: | Michael Benzinger | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1.10 | OS: | Linux (Linux Fedora Core 3 AMD64) |
Assigned to: | Sergey Petrunya | CPU Architecture: | Any |
[17 Feb 2005 3:38]
Michael Benzinger
[17 Feb 2005 4:21]
MySQL Verification Team
Thank you for the bug report. Below how behaves on 4.0.XX: mysql> select * from A, B where A.value64=17156792991891826145 and -> B.value64=17156792991891826145; +----------------------+---------+----------------------+---------+ | value64 | value32 | value64 | value32 | +----------------------+---------+----------------------+---------+ | 17156792991891826145 | 1 | 17156792991891826145 | 3 | +----------------------+---------+----------------------+---------+ 1 row in set (0.03 sec) mysql> select * from A, B where A.value64=17156792991891826145 and -> B.value64=A.value64; +----------------------+---------+----------------------+---------+ | value64 | value32 | value64 | value32 | +----------------------+---------+----------------------+---------+ | 17156792991891826145 | 1 | 17156792991891826145 | 3 | +----------------------+---------+----------------------+---------+ 1 row in set (0.00 sec) mysql> mysql> select * from A, B where A.value64= 9223372036854775807 and -> B.value64=9223372036854775807; +---------------------+---------+---------------------+---------+ | value64 | value32 | value64 | value32 | +---------------------+---------+---------------------+---------+ | 9223372036854775807 | 2 | 9223372036854775807 | 4 | +---------------------+---------+---------------------+---------+ 1 row in set (0.00 sec) mysql> select * from A, B where A.value64= 9223372036854775807 and -> B.value64=A.value64; +---------------------+---------+---------------------+---------+ | value64 | value32 | value64 | value32 | +---------------------+---------+---------------------+---------+ | 9223372036854775807 | 2 | 9223372036854775807 | 4 | +---------------------+---------+---------------------+---------+ 1 row in set (0.00 sec) mysql> select version(); +------------------+ | version() | +------------------+ | 4.0.24-debug-log | +------------------+ 1 row in set (0.00 sec)
[17 Feb 2005 13:08]
Michael Benzinger
I realize it works with 4.0.xx. Unfortunately, this is what is keeping me from moving to 4.1.x.
[28 Feb 2005 20:50]
Sergey Petrunya
New cset with post-review fixes (previous cset is recalled)
[3 Mar 2005 2:03]
Sergey Petrunya
Patch approved by Sergei
[3 Mar 2005 2:14]
Sergey Petrunya
Fix pushed into 4.1.11
[9 Mar 2005 3:16]
Paul DuBois
Noted in 4.1.11 changelog.