mysql_priv.h manager_status is volatile

sql_manager.cc	manager_status is volatile
This commit is contained in:
tim@threads.polyesthetic.msg 2000-11-28 15:59:46 -05:00
parent ea0a749132
commit af297a21c3
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;