diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-01-12 17:03:45 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-01-12 17:03:45 +0100 |
commit | b3e948b82a268d9c3630426727d6715e7e045f83 (patch) | |
tree | ca4eabec4abbbe0fd2da871ac6ca7b822d9a87d5 /sql/sql_base.cc | |
parent | 67fc8f122342b6cfafaef586eceb4f022dbcce02 (diff) | |
download | mariadb-git-bb-10.1-atomics.tar.gz |
MDEV-7437 remove suport for "atomics" with rwlocksbb-10.1-atomics
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r-- | sql/sql_base.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 73a027772fa..c649bae76cb 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -1732,7 +1732,7 @@ void close_temporary_table(THD *thd, TABLE *table, { /* natural invariant of temporary_tables */ DBUG_ASSERT(slave_open_temp_tables || !thd->temporary_tables); - thread_safe_decrement32(&slave_open_temp_tables, &thread_running_lock); + thread_safe_decrement32(&slave_open_temp_tables); table->in_use= 0; // No statistics } thd->unlock_temporary_tables(); @@ -5721,7 +5721,7 @@ TABLE *open_table_uncached(THD *thd, handlerton *hton, thd->temporary_tables->prev= 0; if (thd->rgi_slave) { - thread_safe_increment32(&slave_open_temp_tables, &thread_running_lock); + thread_safe_increment32(&slave_open_temp_tables); } thd->unlock_temporary_tables(); } |