mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
The issue was that when limit is used, SQL_SELECT::test_quick_select would set the cost of table scan to be unreasonable high to force a range to be used. The problem with this approach was that range was used even when the cost of range, when it would only read 'limit rows' would be higher than the cost of a table scan. This patch fixes it by not accepting ranges when the range can never have a lower cost than a table scan, even if every row would match the WHERE clause. |
||
|---|---|---|
| .. | ||
| build | ||
| data | ||
| lib | ||
| mysql-test | ||
| packages | ||
| test | ||
| tools | ||
| udf | ||
| vendor/groonga | ||
| appveyor.yml | ||
| AUTHORS | ||
| autogen.sh | ||
| ChangeLog | ||
| CMakeLists.txt | ||
| config.sh.in | ||
| configure.ac | ||
| COPYING | ||
| gpg_uid | ||
| ha_mroonga.cpp | ||
| ha_mroonga.def | ||
| ha_mroonga.hpp | ||
| Makefile.am | ||
| mrn_constants.hpp | ||
| mrn_err.h | ||
| mrn_macro.hpp | ||
| mrn_mysql.h | ||
| mrn_mysql_compat.h | ||
| mrn_table.cpp | ||
| mrn_table.hpp | ||
| mrn_variables.hpp | ||
| mrn_version.h.in | ||
| NEWS | ||
| plugin_version | ||
| README | ||
| required_groonga_normalizer_mysql_version | ||
| required_groonga_version | ||
| sources.am | ||
| version_full | ||
| version_in_hex | ||
| version_major | ||
| version_micro | ||
| version_minor | ||
See doc/locale/en/html/index.html or doc/locale/ja/html/index.html