Commit c92bbccb authored by Sinisa@sinisa.nasamreza.org's avatar Sinisa@sinisa.nasamreza.org

Merge

parents 47c7adea 9ef50038
...@@ -1851,6 +1851,7 @@ bool setup_tables(TABLE_LIST *tables) ...@@ -1851,6 +1851,7 @@ bool setup_tables(TABLE_LIST *tables)
for (Field **ptr=table->field ; *ptr ; ptr++) for (Field **ptr=table->field ; *ptr ; ptr++)
(*ptr)->query_id=0; (*ptr)->query_id=0;
} }
table->used_keys&= table->keys_in_use_for_query;
} }
if (tablenr > MAX_TABLES) if (tablenr > MAX_TABLES)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment