row0mysql.c:
Add a warning to drop database wait if there are still open handles on a table innobase/row/row0mysql.c: Add a warning to drop database wait if there are still open handles on a table
This commit is contained in:
parent
199e17e577
commit
ce81db2e0d
@ -1847,7 +1847,15 @@ loop:
|
|||||||
if (table->n_mysql_handles_opened > 0) {
|
if (table->n_mysql_handles_opened > 0) {
|
||||||
mutex_exit(&(dict_sys->mutex));
|
mutex_exit(&(dict_sys->mutex));
|
||||||
|
|
||||||
os_thread_sleep(100000);
|
ut_print_timestamp(stderr);
|
||||||
|
fprintf(stderr,
|
||||||
|
" InnoDB: Warning: MySQL is trying to drop database %s\n"
|
||||||
|
"InnoDB: though there are still open handles to table %s.\n",
|
||||||
|
name, table_name);
|
||||||
|
|
||||||
|
os_thread_sleep(1000000);
|
||||||
|
|
||||||
|
mem_free(table_name);
|
||||||
|
|
||||||
goto loop;
|
goto loop;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user