diff --git a/sql/sql_base.cc b/sql/sql_base.cc index be630fd375cb798bf4493b1502c4be0e10da0073..fd6c2c48020337d1f5102c8aa165c0b1ba9b3734 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -1078,7 +1078,7 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name, table->status=STATUS_NO_RECORD; table->keys_in_use_for_query= table->keys_in_use; 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); }