diff options
author | unknown <heikki@hundin.mysql.fi> | 2002-02-14 11:30:14 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2002-02-14 11:30:14 +0200 |
commit | d0634d18fc0217944e05e4e08822adce9cd49aa7 (patch) | |
tree | fe5e8709935b9c4bfd907269c3f1f6f219b00805 /innobase | |
parent | 6158bea1ee30201a6230c21de7cbcb7f3a3c8fed (diff) | |
download | mariadb-git-d0634d18fc0217944e05e4e08822adce9cd49aa7.tar.gz |
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
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/row/row0mysql.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c index 8357ebe7b96..c4a844b3fa9 100644 --- a/innobase/row/row0mysql.c +++ b/innobase/row/row0mysql.c @@ -1847,7 +1847,15 @@ loop: if (table->n_mysql_handles_opened > 0) { 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; } |