summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-04-08 10:47:38 +0300
committerunknown <marko@hundin.mysql.fi>2004-04-08 10:47:38 +0300
commit97f6935e19ba36f5107f20b035134a128be6b920 (patch)
tree46ab6bed464ac823678657bc41329b0b4a322e32 /innobase
parent095d64633b94e5e840503a26dd9ec2c0a66dfd5f (diff)
downloadmariadb-git-97f6935e19ba36f5107f20b035134a128be6b920.tar.gz
InnoDB: Fix a preprocessor error introduced in ChangeSet 1.1772
innobase/sync/sync0sync.c: Fix a preprocessor error introduced in ChangeSet 1.1772
Diffstat (limited to 'innobase')
-rw-r--r--innobase/sync/sync0sync.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/innobase/sync/sync0sync.c b/innobase/sync/sync0sync.c
index c534dc6823d..952510c49e3 100644
--- a/innobase/sync/sync0sync.c
+++ b/innobase/sync/sync0sync.c
@@ -1036,11 +1036,12 @@ sync_thread_add_level(
} else if (level == SYNC_DICT_HEADER) {
ut_a(sync_thread_levels_g(array, SYNC_DICT_HEADER));
} else if (level == SYNC_DICT) {
- ut_a(
#ifdef UNIV_DEBUG
- buf_debug_prints ||
-#endif /* UNIV_DEBUG */
+ ut_a(buf_debug_prints ||
sync_thread_levels_g(array, SYNC_DICT));
+#else /* UNIV_DEBUG */
+ ut_a(sync_thread_levels_g(array, SYNC_DICT));
+#endif /* UNIV_DEBUG */
} else {
ut_error;
}