1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-4786 merge 10.0-monty -> 10.0

use get_table_def_key() instead of create_table_def_key() where appropriate
This commit is contained in:
Sergei Golubchik
2013-08-12 14:17:51 +02:00
parent 055e9cb49c
commit eafb11c821
6 changed files with 22 additions and 18 deletions

View File

@ -132,8 +132,7 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
DBUG_RETURN(0);
has_mdl_lock= TRUE;
share= get_table_share(thd, table_list->db, table_list->table_name,
GTS_TABLE);
share= get_table_share_shortlived(thd, table_list, GTS_TABLE);
if (share == NULL)
DBUG_RETURN(0); // Can't open frm file