1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MWL#90: Subqueries: Inside-out execution for non-semijoin materialized

subqueries that are AND-parts of the WHERE
- First code (needs cleanup).
This commit is contained in:
Sergey Petrunya
2010-04-06 00:16:45 +04:00
parent cb325eb2b2
commit 2775f80f7d
25 changed files with 964 additions and 444 deletions

View File

@ -2285,7 +2285,7 @@ int SQL_SELECT::test_quick_select(THD *thd, key_map keys_to_use,
quick=0;
needed_reg.clear_all();
quick_keys.clear_all();
if (keys_to_use.is_clear_all())
if (keys_to_use.is_clear_all() || head->pos_in_table_list->jtbm_subselect)
DBUG_RETURN(0);
records= head->file->stats.records;
if (!records)