Commit 8017fc6a authored by unknown's avatar unknown

Fix merge mistake

parent 03d00d6f
...@@ -4148,7 +4148,7 @@ bool remove_table_from_cache(THD *thd, const char *db, const char *table_name, ...@@ -4148,7 +4148,7 @@ bool remove_table_from_cache(THD *thd, const char *db, const char *table_name,
else else
result= result || (flags & RTFC_OWNED_BY_THD_FLAG); result= result || (flags & RTFC_OWNED_BY_THD_FLAG);
} }
while (unused_tables && !unused_tables->version) while (unused_tables && !unused_tables->s->version)
VOID(hash_delete(&open_cache,(byte*) unused_tables)); VOID(hash_delete(&open_cache,(byte*) unused_tables));
if (result && (flags & RTFC_WAIT_OTHER_THREAD_FLAG)) if (result && (flags & RTFC_WAIT_OTHER_THREAD_FLAG))
{ {
......
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