diff options
author | kent@mysql.com <> | 2005-07-21 18:05:10 +0200 |
---|---|---|
committer | kent@mysql.com <> | 2005-07-21 18:05:10 +0200 |
commit | b598c67eba8958f1e1d9f38a4873cd5d7f78aa6d (patch) | |
tree | 8fada6d5bb418dc4ff86b318f44be9cb500cfa82 /innobase/sync | |
parent | 93ae805db3cebcd82840c58e242165e35be7c32b (diff) | |
download | mariadb-git-b598c67eba8958f1e1d9f38a4873cd5d7f78aa6d.tar.gz |
sync0sync.c, sync0sync.h:
Declare 'mutex_list' and 'mutex_list_mutex' extern,
to avoid link error on OS X and gcc flag "-fno-common"
Diffstat (limited to 'innobase/sync')
-rw-r--r-- | innobase/sync/sync0sync.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/innobase/sync/sync0sync.c b/innobase/sync/sync0sync.c index f0f0e9a3a2e..43249f4b96f 100644 --- a/innobase/sync/sync0sync.c +++ b/innobase/sync/sync0sync.c @@ -141,6 +141,12 @@ sync_thread_t* sync_thread_level_arrays; /* Mutex protecting sync_thread_level_arrays */ mutex_t sync_thread_mutex; +/* Global list of database mutexes (not OS mutexes) created. */ +ut_list_base_node_t mutex_list; + +/* Mutex protecting the mutex_list variable */ +mutex_t mutex_list_mutex; + /* Latching order checks start when this is set TRUE */ ibool sync_order_checks_on = FALSE; |