1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-25 13:42:52 +03:00
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-05-30 20:25:16 +04:00
2007-05-23 15:26:16 +04:00
2007-05-29 15:58:18 +03:00
2007-08-02 12:45:56 -07:00
2007-08-02 12:45:56 -07:00
2007-06-28 21:34:54 +04:00
2007-06-28 16:03:01 -07:00
2007-04-04 21:35:58 +00:00
2007-07-06 11:35:10 -07:00
2007-06-28 21:34:54 +04:00
2007-06-11 22:55:21 +04:00
2007-06-28 21:34:54 +04:00
2007-08-02 12:45:56 -07:00
2007-08-02 12:45:56 -07:00
2007-06-07 20:25:22 +02:00
2007-08-02 12:45:56 -07:00
2007-08-02 12:45:56 -07:00
2007-05-29 15:58:18 +03:00
2007-08-02 12:45:56 -07:00
2007-05-29 15:58:18 +03:00
2007-08-02 12:45:56 -07:00
2007-06-13 17:28:59 +02:00
2007-04-20 18:35:16 +02:00
2007-06-13 17:28:59 +02:00
2007-06-28 21:34:54 +04:00
2007-05-29 15:58:18 +03:00
2007-05-29 15:58:18 +03:00
2007-08-02 12:45:56 -07:00
2007-06-28 21:34:54 +04:00
2007-06-28 21:34:54 +04:00
2007-05-29 15:58:18 +03:00
2007-06-06 18:55:21 +05:00
2007-08-02 12:45:56 -07:00
2007-07-14 01:34:46 +05:00
2007-04-17 12:32:01 +02:00
2007-07-07 20:03:00 -07:00
2007-04-06 16:06:10 +05:00
2007-03-29 09:08:30 +05:00
2007-05-29 15:58:18 +03:00
2007-04-29 18:52:14 +05:00