[Groonga-mysql-commit] mroonga/mroonga at a470b05 [master] mysql80: follow new st_mysql_plugin::check_uninstall

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jul 21 23:51:02 JST 2017


Kouhei Sutou	2017-07-21 23:51:02 +0900 (Fri, 21 Jul 2017)

  New Revision: a470b05aeb3e619f5254ebc3a2807d4007d4565d
  https://github.com/mroonga/mroonga/commit/a470b05aeb3e619f5254ebc3a2807d4007d4565d

  Message:
    mysql80: follow new st_mysql_plugin::check_uninstall

  Modified files:
    ha_mroonga.cpp
    ha_mroonga.hpp

  Modified: ha_mroonga.cpp (+3 -0)
===================================================================
--- ha_mroonga.cpp    2017-07-21 22:41:27 +0900 (cfcafc8)
+++ ha_mroonga.cpp    2017-07-21 23:51:02 +0900 (bddbeb0)
@@ -1328,6 +1328,9 @@ struct st_mysql_plugin i_s_mrn_stats =
   "Statistics for " MRN_PLUGIN_NAME_STRING,
   PLUGIN_LICENSE_GPL,
   i_s_mrn_stats_init,
+#ifdef MRN_ST_MYSQL_PLUGIN_HAVE_CHECK_UNINSTALL
+  NULL,
+#endif
   i_s_mrn_stats_deinit,
   MRN_VERSION_IN_HEX,
   NULL,

  Modified: ha_mroonga.hpp (+4 -0)
===================================================================
--- ha_mroonga.hpp    2017-07-21 22:41:27 +0900 (c5cd7f7)
+++ ha_mroonga.hpp    2017-07-21 23:51:02 +0900 (05b1a69)
@@ -238,6 +238,10 @@ extern "C" {
 #  define MRN_HANDLER_HAVE_KEYS_TO_USE_FOR_SCANNING
 #endif
 
+#if (!defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 80002)
+#  define MRN_ST_MYSQL_PLUGIN_HAVE_CHECK_UNINSTALL
+#endif
+
 class ha_mroonga;
 
 /* structs */
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-mysql-commit mailing list
Back to archive index