mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
10.0-base merge
This commit is contained in:
@ -3460,6 +3460,11 @@ bool calculate_cond_selectivity_for_table(THD *thd, TABLE *table, Item *cond)
|
||||
table->reginfo.impossible_range= 1;
|
||||
goto free_alloc;
|
||||
}
|
||||
else if (tree->type == SEL_TREE::ALWAYS)
|
||||
{
|
||||
rows= table_records;
|
||||
goto free_alloc;
|
||||
}
|
||||
else if (tree->type == SEL_TREE::MAYBE)
|
||||
{
|
||||
rows= table_records;
|
||||
|
Reference in New Issue
Block a user