summaryrefslogtreecommitdiff
path: root/sql/debug_sync.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/debug_sync.cc')
-rw-r--r--sql/debug_sync.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/debug_sync.cc b/sql/debug_sync.cc
index c9c580c6442..322db38adf2 100644
--- a/sql/debug_sync.cc
+++ b/sql/debug_sync.cc
@@ -1942,4 +1942,7 @@ bool debug_sync_set_action(THD *thd, const char *action_str, size_t len)
}
+#else /* defined(ENABLED_DEBUG_SYNC) */
+/* prevent linker/lib warning about file without public symbols */
+int debug_sync_dummy;
#endif /* defined(ENABLED_DEBUG_SYNC) */