1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-02 19:25:03 +03:00
This commit is contained in:
Igor Babaev 2013-03-26 00:11:50 -07:00
commit e59e529635
2 changed files with 1 additions and 4 deletions

View File

@ -3341,10 +3341,7 @@ bool calculate_cond_selectivity_for_table(THD *thd, TABLE *table, Item *cond)
param.is_ror_scan= FALSE;
if (create_key_parts_for_pseudo_indexes(&param, used_fields))
{
free_root(&alloc, MYF(0));
goto free_alloc;
}
param.prev_tables= param.read_tables= 0;
param.current_table= table->map;