mysql_priv.h manager_status is volatile

sql_manager.cc	manager_status is volatile
parent ea0a7491
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment