diff options
-rw-r--r-- | sql/mysql_priv.h | 2 | ||||
-rw-r--r-- | sql/sql_manager.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h index ef6f1e7a81e..6dd3c06c236 100644 --- a/sql/mysql_priv.h +++ b/sql/mysql_priv.h @@ -426,7 +426,7 @@ int write_record(TABLE *table,COPY_INFO *info); /* sql_manager.cc */ /* bits set in manager_status */ #define MANAGER_BERKELEY_LOG_CLEANUP (1L << 0) -extern ulong manager_status; +extern ulong volatile manager_status; extern bool volatile manager_thread_in_use; extern pthread_t manager_thread; extern pthread_mutex_t LOCK_manager; diff --git a/sql/sql_manager.cc b/sql/sql_manager.cc index 13fef76d4ab..53953c96d0b 100644 --- a/sql/sql_manager.cc +++ b/sql/sql_manager.cc @@ -25,7 +25,7 @@ #include "mysql_priv.h" #include "sql_manager.h" -ulong manager_status; +ulong volatile manager_status; bool volatile manager_thread_in_use; pthread_t manager_thread; |