1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-13 21:42:58 +03:00
Files
mariadb/sql
mhansson/martin@linux-st28.site 98d34d620c Bug #30596 GROUP BY optimization gives wrong result order
The optimization that uses a unique index to remove GROUP BY did not 
ensure that the index was actually used, thus violating the ORDER BY
that is implied by GROUP BY.
Fixed by replacing GROUP BY with ORDER BY if the GROUP BY clause contains
a unique index over non-nullable field(s). In case GROUP BY ... ORDER BY 
null is used, GROUP BY is simply removed.
2007-08-28 18:01:29 +02:00
..
2007-03-15 23:39:07 -07:00
2006-12-31 01:02:27 +01:00
2006-12-31 02:29:11 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-03-20 17:07:53 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-06-13 16:12:02 +02:00
2007-05-24 19:47:58 +03:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-04-13 19:23:02 +02:00
2007-01-27 03:46:45 +02:00
2006-12-31 01:02:27 +01:00
2007-08-17 13:22:31 +02:00
2007-02-23 13:13:55 +02:00
2007-02-23 13:13:55 +02:00
2006-12-23 20:17:15 +01:00
2007-06-10 14:43:57 +04:00
2006-12-31 02:29:11 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-07-30 19:02:21 +03:00
2007-06-12 18:41:56 +03:00
2007-07-01 15:33:28 -07:00
2006-12-23 20:17:15 +01:00