diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-09-08 12:59:57 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-09-08 12:59:57 +0200 |
commit | 4d4ce59d2be82a1a0aebe8d527da1e660395c063 (patch) | |
tree | e7c745ca4a7385a3b1a8006078b5b6428dd4fcf8 /sql/rpl_rli.h | |
parent | efc93eb3d1ec33d9f9357872c70b4044f26e7785 (diff) | |
download | mariadb-git-4d4ce59d2be82a1a0aebe8d527da1e660395c063.tar.gz |
compilation fixes for WITH_ATOMIC_OPS=rwlocks
Diffstat (limited to 'sql/rpl_rli.h')
-rw-r--r-- | sql/rpl_rli.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/rpl_rli.h b/sql/rpl_rli.h index ce30813790c..25c6fabec30 100644 --- a/sql/rpl_rli.h +++ b/sql/rpl_rli.h @@ -170,8 +170,6 @@ public: */ inuse_relaylog *inuse_relaylog_list; inuse_relaylog *last_inuse_relaylog; - /* Lock used to protect inuse_relaylog::dequeued_count */ - my_atomic_rwlock_t inuse_relaylog_atomic_lock; /* Needed to deal properly with cur_log getting closed and re-opened with @@ -504,6 +502,8 @@ struct inuse_relaylog { /* Set when all events have been read from a relaylog. */ bool completed; char name[FN_REFLEN]; + /* Lock used to protect inuse_relaylog::dequeued_count */ + my_atomic_rwlock_t inuse_relaylog_atomic_lock; }; |