summaryrefslogtreecommitdiff
path: root/sql/rpl_gtid.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2020-03-21 15:52:24 +0400
committerSergey Vojtovich <svoj@mariadb.org>2020-03-21 15:55:00 +0400
commit4d9977e5ff9843e132fda480536192caaf69aba2 (patch)
tree0725d607698bea3b6f34b846918ccb1e57822827 /sql/rpl_gtid.h
parent9394cc89143e4fce3126a96ac1c8a91a66d71dea (diff)
downloadmariadb-git-4d9977e5ff9843e132fda480536192caaf69aba2.tar.gz
default_gtid_pos_table: my_atomic to std::atomic
Diffstat (limited to 'sql/rpl_gtid.h')
-rw-r--r--sql/rpl_gtid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_gtid.h b/sql/rpl_gtid.h
index 167d7461a7e..a795290d780 100644
--- a/sql/rpl_gtid.h
+++ b/sql/rpl_gtid.h
@@ -223,7 +223,7 @@ struct rpl_slave_state
*/
void * volatile gtid_pos_tables;
/* The default entry in gtid_pos_tables, mysql.gtid_slave_pos. */
- void * volatile default_gtid_pos_table;
+ std::atomic<gtid_pos_table*> default_gtid_pos_table;
bool loaded;
rpl_slave_state();