diff options
Diffstat (limited to 'sql/debug_sync.cc')
-rw-r--r-- | sql/debug_sync.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/debug_sync.cc b/sql/debug_sync.cc index c9c580c6442..2384cdc8608 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) } -#endif /* defined(ENABLED_DEBUG_SYNC) */ +#else /* defined(ENABLED_DEBUG_SYNC) */ +/* prevent linker/lib warning about file without public symbols */ +int debug_sync_dummy; +#endif /* defined(ENABLED_DEBUG_SYNC) */
\ No newline at end of file |