diff options
author | monty@mysql.com <> | 2004-11-02 18:54:16 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-11-02 18:54:16 +0200 |
commit | f5c77f6a069043a8197ff140643762049518a588 (patch) | |
tree | 220c894342d371137d4e36b99eafb9861a3af25d /innobase/dict | |
parent | 9972d680786121475ad4b9818c0ba68377c9d746 (diff) | |
parent | 7c0e191d27fe513f027525f061cae2cbb8177b38 (diff) | |
download | mariadb-git-f5c77f6a069043a8197ff140643762049518a588.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1
Diffstat (limited to 'innobase/dict')
-rw-r--r-- | innobase/dict/dict0load.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/innobase/dict/dict0load.c b/innobase/dict/dict0load.c index 7f32c79717c..8fc6eb9141e 100644 --- a/innobase/dict/dict0load.c +++ b/innobase/dict/dict0load.c @@ -21,6 +21,7 @@ Created 4/24/1996 Heikki Tuuri #include "dict0boot.h" #include "rem0cmp.h" #include "srv0start.h" +#include "srv0srv.h" /************************************************************************ Finds the first table name in the given database. */ @@ -124,6 +125,13 @@ dict_print(void) ulint len; mtr_t mtr; + /* Enlarge the fatal semaphore wait timeout during the InnoDB table + monitor printout */ + + mutex_enter(&kernel_mutex); + srv_fatal_semaphore_wait_threshold += 7200; /* 2 hours */ + mutex_exit(&kernel_mutex); + mutex_enter(&(dict_sys->mutex)); mtr_start(&mtr); @@ -146,6 +154,12 @@ loop: mutex_exit(&(dict_sys->mutex)); + /* Restore the fatal semaphore wait timeout */ + + mutex_enter(&kernel_mutex); + srv_fatal_semaphore_wait_threshold -= 7200; /* 2 hours */ + mutex_exit(&kernel_mutex); + return; } |