small revert

parent 7fd3221f
...@@ -1078,7 +1078,7 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name, ...@@ -1078,7 +1078,7 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name,
table->status=STATUS_NO_RECORD; table->status=STATUS_NO_RECORD;
table->keys_in_use_for_query= table->keys_in_use; table->keys_in_use_for_query= table->keys_in_use;
table->used_keys= table->keys_for_keyread; table->used_keys= table->keys_for_keyread;
// DBUG_ASSERT(table->key_read == 0); put in comment as this fails on EXPLAIN DBUG_ASSERT(table->key_read == 0);
DBUG_RETURN(table); DBUG_RETURN(table);
} }
......
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