Browse Source
Bug #43029: FORCE INDEX FOR ORDER BY is ignored when join
Bug #43029: FORCE INDEX FOR ORDER BY is ignored when join
buffering is used FORCE INDEX FOR ORDER BY now prevents the optimizer from using join buffering. As a result the optimizer can use indexed access on the first table and doesn't need to sort the complete resultset at the end of the statement.pull/374/head
8 changed files with 116 additions and 12 deletions
-
31mysql-test/r/order_by.result
-
32mysql-test/t/order_by.test
-
6sql/sql_base.cc
-
1sql/sql_parse.cc
-
19sql/sql_select.cc
-
2sql/sql_select.h
-
25sql/table.cc
-
12sql/table.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue