diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-03-28 19:26:00 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-03-28 19:26:00 +0200 |
commit | 0d5adca0de0a51b1f0bd49045fc4062eac7d1d25 (patch) | |
tree | 3cb7a294c5feebb813cf73b248c53d026aa11602 /mysys/my_static.c | |
parent | 20e706689df1eb87c696304797e9d6184c0a75bb (diff) | |
download | mariadb-git-0d5adca0de0a51b1f0bd49045fc4062eac7d1d25.tar.gz |
debug_sync is now a service, available to dynamically loaded plugins.
new make target - abi_update
libservices/HOWTO:
remove references to Makefile.am
small tweaks
Diffstat (limited to 'mysys/my_static.c')
-rw-r--r-- | mysys/my_static.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mysys/my_static.c b/mysys/my_static.c index 73af96d87d2..bc2d8beac83 100644 --- a/mysys/my_static.c +++ b/mysys/my_static.c @@ -90,13 +90,7 @@ static const char *proc_info_dummy(void *a __attribute__((unused)), /* this is to be able to call set_thd_proc_info from the C code */ const char *(*proc_info_hook)(void *, const char *, const char *, const char *, const unsigned int)= proc_info_dummy; -#if defined(ENABLED_DEBUG_SYNC) -/** - Global pointer to be set if callback function is defined - (e.g. in mysqld). See sql/debug_sync.cc. -*/ -void (*debug_sync_C_callback_ptr)(const char *, size_t); -#endif /* defined(ENABLED_DEBUG_SYNC) */ +void (*debug_sync_C_callback_ptr)(MYSQL_THD, const char *, size_t)= 0; /* How to disable options */ my_bool my_disable_locking=0; |