summaryrefslogtreecommitdiff
path: root/sql/init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/init.cc')
-rw-r--r--sql/init.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/init.cc b/sql/init.cc
index 86915b7aa01..8001e60b65e 100644
--- a/sql/init.cc
+++ b/sql/init.cc
@@ -21,6 +21,7 @@
Init and dummy functions for interface with unireg
*/
+#include <my_global.h>
#include "sql_priv.h"
#include "init.h"
#include "my_sys.h"
@@ -41,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;