1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-15 09:02:33 +03:00
Files
mariadb/sql
igor@olga.mysql.com cf39429295 Fixed bug#28404.
This patch adds cost estimation for the queries with ORDER BY / GROUP BY
and LIMIT. 
If there was a ref/range access to the table whose rows were required
to be ordered in the result set the optimizer always employed this access
though a scan by a different index that was compatible with the required 
order could be cheaper to produce the first L rows of the result set.
Now for such queries the optimizer makes a choice between the cheapest
ref/range accesses not compatible with the given order and index scans
compatible with it.
2007-08-02 12:45:56 -07:00
..
2007-03-15 23:39:07 -07:00
2006-12-31 01:02:27 +01:00
2007-07-18 15:53:10 +02: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-09 03:27:03 -06:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-06-27 22:28:18 +02: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
2006-12-31 01:02:27 +01:00
2007-02-23 13:13:55 +02:00
2007-02-23 13:13:55 +02:00
2007-05-24 19:47:58 +03:00
2006-12-23 20:17:15 +01:00
2007-06-10 14:43:57 +04:00
2006-12-23 20:17:15 +01:00
2007-07-17 00:59:21 +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-06-12 18:41:56 +03:00
2007-03-02 08:43:45 -08:00
2007-08-02 12:45:56 -07:00
2007-08-02 12:45:56 -07:00
2007-07-01 15:33:28 -07:00
2006-12-23 20:17:15 +01:00
2007-06-19 14:27:53 +03:00
2007-07-23 19:09:48 +03:00
2007-02-23 13:13:55 +02:00