diff options
author | Sergei Golubchik <serg@mysql.com> | 2009-10-30 19:13:58 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mysql.com> | 2009-10-30 19:13:58 +0100 |
commit | 319847a4ec9cbe96b2bf7fb1ff5f8d263e8d12bb (patch) | |
tree | 53d531c0319fefc2db3ea6c70ceb4648c3cb4ed9 /sql/debug_sync.cc | |
parent | eff49de23e87dabb17b07b74f04b104748df8517 (diff) | |
download | mariadb-git-319847a4ec9cbe96b2bf7fb1ff5f8d263e8d12bb.tar.gz |
backport of dbug extensions from 6.0:
function/ syntax
glob(7) wildcards
unit tests
Diffstat (limited to 'sql/debug_sync.cc')
-rw-r--r-- | sql/debug_sync.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sql/debug_sync.cc b/sql/debug_sync.cc index 2580d526b52..81870e6b7a3 100644 --- a/sql/debug_sync.cc +++ b/sql/debug_sync.cc @@ -1701,9 +1701,11 @@ uchar *sys_var_debug_sync::value_ptr(THD *thd, static void debug_sync_execute(THD *thd, st_debug_sync_action *action) { - IF_DBUG(const char *dsp_name= action->sync_point.c_ptr()); - IF_DBUG(const char *sig_emit= action->signal.c_ptr()); - IF_DBUG(const char *sig_wait= action->wait_for.c_ptr()); +#ifndef DBUG_OFF + const char *dsp_name= action->sync_point.c_ptr(); + const char *sig_emit= action->signal.c_ptr(); + const char *sig_wait= action->wait_for.c_ptr(); +#endif DBUG_ENTER("debug_sync_execute"); DBUG_ASSERT(thd); DBUG_ASSERT(action); |