diff options
author | brian@zim.(none) <> | 2006-08-29 11:58:12 -0700 |
---|---|---|
committer | brian@zim.(none) <> | 2006-08-29 11:58:12 -0700 |
commit | 5c3ac45ca49bb9d8df3ef1be928c5d20b9bb2f0d (patch) | |
tree | d63e0e01901f429ba81e23e5fe6be125fb73d54c /sql/mysqld.cc | |
parent | 7216b5bc7a64533634b234f521ee8ce9bf7c9417 (diff) | |
download | mariadb-git-5c3ac45ca49bb9d8df3ef1be928c5d20b9bb2f0d.tar.gz |
Re'ordering of startup. Fixed Execution path issues. Added function for de'initing everything. This includes Antony's suggestions (bk collapse uber alles!)
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r-- | sql/mysqld.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 46f5e0ae4e9..9b2f61ee2cf 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -1186,7 +1186,7 @@ void clean_up(bool print_message) udf_free(); #endif } - plugin_free(); + plugin_shutdown(); if (tc_log) tc_log->close(); xid_cache_free(); @@ -2629,7 +2629,7 @@ static int init_common_variables(const char *conf_file_name, int argc, /* Add server status variables to the dynamic list of status variables that is shown by SHOW STATUS. - Later, in plugin_init, plugin_load, and mysql_install_plugin + Later, in plugin_init, and mysql_install_plugin new entries could be added to that list. */ if (add_status_vars(status_vars)) @@ -3178,7 +3178,7 @@ server."); using_update_log=1; } - if (plugin_init()) + if (plugin_init(0)) { sql_print_error("Failed to init plugins."); return 1; @@ -3610,7 +3610,6 @@ we force server id to 2, but this MySQL server will not act as a slave."); if (!opt_noacl) { - plugin_load(); #ifdef HAVE_DLOPEN udf_init(); #endif |