summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 9cc67419564..dff18b9585e 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -5313,6 +5313,10 @@ static int init_server_components()
}
#endif
+ if (ddl_log_execute_recovery() > 0)
+ unireg_abort(1);
+ ha_signal_ddl_recovery_done();
+
if (opt_myisam_log)
(void) mi_log(1);
@@ -5681,9 +5685,6 @@ int mysqld_main(int argc, char **argv)
initialize_information_schema_acl();
- if (ddl_log_execute_recovery() > 0)
- unireg_abort(1);
-
/*
Change EVENTS_ORIGINAL to EVENTS_OFF (the default value) as there is no
point in using ORIGINAL during startup