diff options
Diffstat (limited to 'sql/rpl_rli.h')
-rw-r--r-- | sql/rpl_rli.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/rpl_rli.h b/sql/rpl_rli.h index 5c637702d04..3ca7c2412e6 100644 --- a/sql/rpl_rli.h +++ b/sql/rpl_rli.h @@ -155,7 +155,9 @@ public: standard lock acquisition order to avoid deadlocks: run_lock, data_lock, relay_log.LOCK_log, relay_log.LOCK_index */ - mysql_mutex_t data_lock, run_lock; + mutable mysql_mutex_t data_lock; + mysql_mutex_t run_lock; + /* start_cond is broadcast when SQL thread is started stop_cond - when stopped |