40
40
Avoid problems with a rename on a table that we have locked or
41
41
if the user is trying to to do this in a transcation context
45
45
my_message(ER_LOCK_OR_ACTIVE_TRANSACTION, ER(ER_LOCK_OR_ACTIVE_TRANSACTION), MYF(0));
49
49
if (wait_if_global_read_lock(session,0,1))
52
52
pthread_mutex_lock(&LOCK_open); /* Rename table lock for exclusive access */
53
53
if (lock_table_names_exclusively(session, table_list))