Bug #31156 mysqld: item_sum.cc:918: virtual bool Item_sum_distinct::setup(THD*): Assertion
| Submitted: | 23 Sep 2007 13:20 | Modified: | 1 Nov 2007 2:43 |
|---|---|---|---|
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Data Types | Severity: | S2 (Serious) |
| Version: | 5.0.48-debug, 5.1.23-debug | OS: | Any |
| Assigned to: | Georgi Kodinov | CPU Architecture: | Any |
| Tags: | assert, crash | ||
[23 Sep 2007 13:20]
Shane Bester
[8 Oct 2007 9:57]
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/commits/35082 ChangeSet@1.2553, 2007-10-08 12:57:43+03:00, gkodinov@magare.gmz +3 -0 Bug #31156: mysqld: item_sum.cc:918: virtual bool Item_sum_distinct::setup(THD*): Assertion There was an assertion to detect a bug in ROLLUP implementation. However the assertion is not true when used in a subquery context with non-cacheable statements. Fixed by turning the assertion to accepted case (just like it's done for the other aggregate functions).
[29 Oct 2007 8:42]
Bugs System
Pushed into 5.0.52
[29 Oct 2007 8:45]
Bugs System
Pushed into 5.1.23-beta
[29 Oct 2007 8:49]
Bugs System
Pushed into 6.0.4-alpha
[1 Nov 2007 2:43]
Paul DuBois
Noted in 5.0.52, 5.1.23, 6.0.4 changelogs. An assertion designed detect a bug in the ROLLUP implementation incorrectly failed when used in subquery context with non-cacheable statements.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.