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 /plugin | |
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 'plugin')
-rw-r--r-- | plugin/daemon_example/daemon_example.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/daemon_example/daemon_example.cc b/plugin/daemon_example/daemon_example.cc index dbc3c5c49e3..cdea632c8f4 100644 --- a/plugin/daemon_example/daemon_example.cc +++ b/plugin/daemon_example/daemon_example.cc @@ -129,7 +129,7 @@ static int daemon_example_plugin_init(void *p __attribute__ ((unused))) (void *)con) != 0) { fprintf(stderr,"Could not create heartbeat thread!\n"); - exit(0); + DBUG_RETURN(1); } plugin->data= (void *)con; |