summaryrefslogtreecommitdiff
path: root/storage/innobase/include/btr0bulk.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/btr0bulk.h')
-rw-r--r--storage/innobase/include/btr0bulk.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/storage/innobase/include/btr0bulk.h b/storage/innobase/include/btr0bulk.h
index 2a434c673cb..0fcf4a36d6b 100644
--- a/storage/innobase/include/btr0bulk.h
+++ b/storage/innobase/include/btr0bulk.h
@@ -288,8 +288,7 @@ public:
ut_ad(!dict_index_is_spatial(index));
#ifdef UNIV_DEBUG
if (m_flush_observer)
- my_atomic_addlint(&m_index->table->space->redo_skipped_count,
- 1);
+ m_index->table->space->redo_skipped_count++;
#endif /* UNIV_DEBUG */
}
@@ -298,8 +297,7 @@ public:
{
#ifdef UNIV_DEBUG
if (m_flush_observer)
- my_atomic_addlint(&m_index->table->space->redo_skipped_count,
- ulint(-1));
+ m_index->table->space->redo_skipped_count--;
#endif /* UNIV_DEBUG */
}