Bug #16016 | Problem with optimization of SELECT MAX() FROM view | ||
---|---|---|---|
Submitted: | 27 Dec 2005 12:34 | Modified: | 13 Jan 2006 0:14 |
Reporter: | Victoria Reznichenko | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S5 (Performance) |
Version: | 5.0.18 | OS: | Linux (linux) |
Assigned to: | Igor Babaev | CPU Architecture: | Any |
[27 Dec 2005 12:34]
Victoria Reznichenko
[27 Dec 2005 12:35]
MySQL Verification Team
table t1
Attachment: t1.zip (application/zip, text), 190.92 KiB.
[7 Jan 2006 6:28]
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/733
[12 Jan 2006 6:47]
Igor Babaev
ChangeSet 1.2021 06/01/06 22:28:26 igor@rurik.mysql.com +3 -0 Fixed bug #16016: MIN/MAX optimization was not applied to views. sql/opt_sum.cc 1.49 06/01/06 22:28:02 igor@rurik.mysql.com +5 -5 Fixed bug #16016: MIN/MAX optimization was not applied to views. The fix employs the standard way of handling direct references to view fields. mysql-test/t/view.test 1.132 06/01/06 22:28:02 igor@rurik.mysql.com +24 -0 Added a test case for bug #16016. mysql-test/r/view.result 1.143 06/01/06 22:28:02 igor@rurik.mysql.com +29 -0 Added a test case for bug #16016. The fix will appear in 5.0.20
[13 Jan 2006 0:14]
Mike Hillyer
Added entry to 5.0.20 changelog: <listitem> <para> <literal>MIN()</literal> and <literal>MAX()</literal> operations were not optimized for views. (Bug #16016) </para> </listitem>
[13 Jan 2006 17:52]
Paul DuBois
The changelog version is actually 5.0.19.