summaryrefslogtreecommitdiff
path: root/sql/init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/init.cc')
-rw-r--r--sql/init.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/init.cc b/sql/init.cc
index 50d504068a0..8b15fef4ee3 100644
--- a/sql/init.cc
+++ b/sql/init.cc
@@ -37,7 +37,9 @@ void unireg_init(ulong options)
#ifdef USE_MY_ATOF
init_my_atof(); /* use our atof */
#endif
+#ifndef EMBEDDED_LIBRARY
my_abort_hook=unireg_abort; /* Abort with close of databases */
+#endif
VOID(strmov(reg_ext,".frm"));
for (i=0 ; i < 6 ; i++) // YYMMDDHHMMSS