diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2015-12-16 19:39:00 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2015-12-16 19:39:00 +0400 |
commit | 90ea0145856338221803ebb9b446ed2a6e082412 (patch) | |
tree | 56c4b912a8156d5b3c4a8986ecbebe7b9833aa98 /mysys/my_static.c | |
parent | 71eee693b2ffadaf3d3ae9f68d5a723d9e4b503a (diff) | |
download | mariadb-git-90ea0145856338221803ebb9b446ed2a6e082412.tar.gz |
MDEV-8378 - Debian: the Lintian complains about many "shlib-calls-exit" in manymariadb-10.0.23
of the plugins
Removed exit() from daemon_example, pass error to caller instead.
Also removed unused my_abort_hook.
Diffstat (limited to 'mysys/my_static.c')
-rw-r--r-- | mysys/my_static.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mysys/my_static.c b/mysys/my_static.c index 84d2dc64fc6..4aca78e30a9 100644 --- a/mysys/my_static.c +++ b/mysys/my_static.c @@ -72,7 +72,6 @@ ulong my_time_to_wait_for_lock=2; /* In seconds */ #ifdef SHARED_LIBRARY const char *globerrs[GLOBERRS]; /* my_error_messages is here */ #endif -void (*my_abort_hook)(int) = (void(*)(int)) exit; void (*error_handler_hook)(uint error, const char *str, myf MyFlags)= my_message_stderr; void (*fatal_error_handler_hook)(uint error, const char *str, myf MyFlags)= |