Bug #22085 | Crash on the execution of a prepared statement using aggregating IN subquery | ||
---|---|---|---|
Submitted: | 7 Sep 2006 17:21 | Modified: | 4 Oct 2006 19:15 |
Reporter: | Igor Babaev | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Prepared statements | Severity: | S1 (Critical) |
Version: | 4.1.22-BK | OS: | |
Assigned to: | Igor Babaev | CPU Architecture: | Any |
[7 Sep 2006 17:21]
Igor Babaev
[16 Sep 2006 16:07]
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/12083 ChangeSet@1.2566, 2006-09-16 09:06:59-07:00, igor@rurik.mysql.com +3 -0 Fixed bug #22085: Crash on the execution of a prepared statement that uses an aggregating IN subquery with HAVING clause. A wrong order of the call of split_sum_func2 for the HAVING clause of the subquery and the transformation for the subquery resulted in the creation of a andor structure that could not be restored at an execution of the prepared statement.
[16 Sep 2006 18:50]
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/12087 ChangeSet@1.2566, 2006-09-16 11:50:00-07:00, igor@rurik.mysql.com +3 -0 Fixed bug #22085: Crash on the execution of a prepared statement that uses an aggregating IN subquery with HAVING clause. A wrong order of the call of split_sum_func2 for the HAVING clause of the subquery and the transformation for the subquery resulted in the creation of a andor structure that could not be restored at an execution of the prepared statement.
[1 Oct 2006 8:57]
Georgi Kodinov
Pushed in 4.1.22/5.0.26/5.1.12
[4 Oct 2006 19:15]
Paul DuBois
Noted in 4.1.22, 5.0.26, 5.1.12 changelogs.