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 /sql/init.cc | |
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 'sql/init.cc')
-rw-r--r-- | sql/init.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/init.cc b/sql/init.cc index 91b4b220bf3..8001e60b65e 100644 --- a/sql/init.cc +++ b/sql/init.cc @@ -42,9 +42,6 @@ void unireg_init(ulong options) current_pid=(ulong) getpid(); /* Save for later ref */ my_init_time(); /* Init time-functions (read zone) */ -#ifndef EMBEDDED_LIBRARY - my_abort_hook=unireg_abort; /* Abort with close of databases */ -#endif (void) strmov(reg_ext,".frm"); reg_ext_length= 4; |