diff options
Diffstat (limited to 'sql/table_cache.cc')
-rw-r--r-- | sql/table_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table_cache.cc b/sql/table_cache.cc index f55e24f3b04..ba7047773b9 100644 --- a/sql/table_cache.cc +++ b/sql/table_cache.cc @@ -827,7 +827,7 @@ retry: lf_hash_search_unpin(thd->tdc_hash_pins); DBUG_ASSERT(element); - if (!(share= alloc_table_share(tl->db, tl->table_name, key, key_length))) + if (!(share= alloc_table_share(tl->db.str, tl->table_name.str, key, key_length))) { lf_hash_delete(&tdc_hash, thd->tdc_hash_pins, key, key_length); DBUG_RETURN(0); |