mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.0
into c-8b0ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1
This commit is contained in:
commit
69acde961f
597 changed files with 53026 additions and 2441 deletions
|
|
@ -1711,6 +1711,10 @@ srv_printf_innodb_monitor(
|
|||
fprintf(file, "%ld queries inside InnoDB, %lu queries in queue\n",
|
||||
(long) srv_conc_n_threads,
|
||||
(ulong) srv_conc_n_waiting_threads);
|
||||
|
||||
fprintf(file, "%lu read views open inside InnoDB\n",
|
||||
UT_LIST_GET_LEN(trx_sys->view_list));
|
||||
|
||||
n_reserved = fil_space_get_n_reserved_extents(0);
|
||||
if (n_reserved > 0) {
|
||||
fprintf(file,
|
||||
|
|
|
|||
|
|
@ -1833,6 +1833,16 @@ innobase_shutdown_for_mysql(void)
|
|||
srv_free();
|
||||
os_sync_free();
|
||||
|
||||
/* Check that all read views are closed except read view owned
|
||||
by a purge. */
|
||||
|
||||
if (UT_LIST_GET_LEN(trx_sys->view_list) > 1) {
|
||||
fprintf(stderr,
|
||||
"InnoDB: Error: all read views were not closed before shutdown:\n"
|
||||
"InnoDB: %lu read views open \n",
|
||||
UT_LIST_GET_LEN(trx_sys->view_list) - 1);
|
||||
}
|
||||
|
||||
/* 5. Free all allocated memory and the os_fast_mutex created in
|
||||
ut0mem.c */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue