mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
02d91af9e7
ChangeSet@1.2536.50.1 2007-08-02 12:45:56-07:00 igor@mysql.com 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. innodb.result: Adjusted results for test cases affected fy the fix for bug #28404. |
||
---|---|---|
.. | ||
ctype_innodb_like.inc | ||
have_innodb.inc | ||
innodb-lock.result | ||
innodb-lock.test | ||
innodb-master.opt | ||
innodb-replace.result | ||
innodb-replace.test | ||
innodb.result | ||
innodb.test | ||
innodb_trx_weight.inc | ||
innodb_trx_weight.result | ||
innodb_trx_weight.test |