Navigation Menu

Skip to content

Commit

Permalink
mariadb55: don't use thd_kill_statement_service in Mroonga
Browse files Browse the repository at this point in the history
thd_kill_level() uses thd_kill_statement_service internally. It causes
failure of Mroonga install after installing and uninstalling Mroonga.
  • Loading branch information
kou committed Mar 25, 2015
1 parent bb48efb commit 4d7a6ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ha_mroonga.cpp
Expand Up @@ -155,7 +155,11 @@ static mysql_mutex_t *mrn_LOCK_open;
# define mrn_declare_plugin(NAME) maria_declare_plugin(NAME)
# define mrn_declare_plugin_end maria_declare_plugin_end
# define MRN_PLUGIN_LAST_VALUES MRN_VERSION, MariaDB_PLUGIN_MATURITY_STABLE
# define MRN_ABORT_ON_WARNING(thd) thd_kill_level(thd)
# if MYSQL_VERSION_ID >= 100000
# define MRN_ABORT_ON_WARNING(thd) thd_kill_level(thd)
# else
# define MRN_ABORT_ON_WARNING(thd) thd->abort_on_warning
# endif
#else
# define mrn_declare_plugin(NAME) mysql_declare_plugin(NAME)
# define mrn_declare_plugin_end mysql_declare_plugin_end
Expand Down

0 comments on commit 4d7a6ae

Please sign in to comment.