| Bug #9298 | Wrong handling of int4 unsigned columns in GROUP functions | ||
|---|---|---|---|
| Submitted: | 19 Mar 2005 19:24 | Modified: | 29 Apr 2005 1:54 |
| Reporter: | Nicolas Moldavsky | ||
| Status: | Closed | ||
| Category: | Server: Optimizer | Severity: | S2 (Serious) |
| Version: | 4.1.10a | OS: | Linux (RHEL 3) |
| Assigned to: | Sergey Petrunia | Target Version: | |
[19 Mar 2005 19:24]
Nicolas Moldavsky
[22 Mar 2005 21:54]
Jim Winstead
This appears to be a problem within group-by processing, so reassigning to the optimizer team. Internally, the Item_sum_max object appears to have its unsigned_flag member set properly. In the case of SUM(a) vs. SUM(a+0), the first is set to a type of MYSQL_TYPE_LONG, and the second to MYSQL_TYPE_LONGLONG.
[18 Apr 2005 5:22]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/24096
[27 Apr 2005 20:40]
Sergey Petrunia
Approved by Sergei
[28 Apr 2005 19:12]
Sergey Petrunia
Pushed into 4.1.12 and 5.0.6 trees
[29 Apr 2005 1:54]
Paul DuBois
Noted in 4.1.12, 5.0.6 changelogs.
