summaryrefslogtreecommitdiff
path: root/storage/tokudb/tokudb_background.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-04-26 17:02:15 +0200
committerSergei Golubchik <serg@mariadb.org>2019-04-26 17:02:15 +0200
commit33d8a28367c947dcca6481df9304ad203aea45b4 (patch)
tree382d769abdf137425639c264b3554500986e4d60 /storage/tokudb/tokudb_background.cc
parenta816eac92ac2381e1b9cd4d655e733bdeafb173e (diff)
downloadmariadb-git-33d8a28367c947dcca6481df9304ad203aea45b4.tar.gz
5.6.43-84.3
Diffstat (limited to 'storage/tokudb/tokudb_background.cc')
-rw-r--r--storage/tokudb/tokudb_background.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/tokudb/tokudb_background.cc b/storage/tokudb/tokudb_background.cc
index 13e0e9321cc..19f03dbca65 100644
--- a/storage/tokudb/tokudb_background.cc
+++ b/storage/tokudb/tokudb_background.cc
@@ -182,14 +182,14 @@ void* job_manager_t::real_thread_func() {
if (res == tokudb::thread::semaphore_t::E_INTERRUPTED || _shutdown) {
break;
} else if (res == tokudb::thread::semaphore_t::E_SIGNALLED) {
-#if TOKUDB_DEBUG
+#if defined(TOKUDB_DEBUG)
if (TOKUDB_UNLIKELY(
tokudb::sysvars::debug_pause_background_job_manager)) {
_sem.signal();
tokudb::time::sleep_microsec(250000);
continue;
}
-#endif // TOKUDB_DEBUG
+#endif // defined(TOKUDB_DEBUG)
mutex_t_lock(_mutex);
assert_debug(_background_jobs.size() > 0);