[Groonga-mysql-commit] mroonga/mroonga at 4096450 [master] mysql80: follow create_t accept partitioned argument change

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jul 21 23:55:43 JST 2017


Kouhei Sutou	2017-07-21 23:55:43 +0900 (Fri, 21 Jul 2017)

  New Revision: 40964505b7e47f4064d054d851ef3b2a2c51e467
  https://github.com/mroonga/mroonga/commit/40964505b7e47f4064d054d851ef3b2a2c51e467

  Message:
    mysql80: follow create_t accept partitioned argument change

  Modified files:
    ha_mroonga.cpp
    ha_mroonga.hpp

  Modified: ha_mroonga.cpp (+6 -1)
===================================================================
--- ha_mroonga.cpp    2017-07-21 23:51:40 +0900 (d623fd1)
+++ ha_mroonga.cpp    2017-07-21 23:55:43 +0900 (bea477d)
@@ -1339,7 +1339,12 @@ struct st_mysql_plugin i_s_mrn_stats =
 };
 /* End of mroonga information schema implementations */
 
-static handler *mrn_handler_create(handlerton *hton, TABLE_SHARE *share, MEM_ROOT *root)
+static handler *mrn_handler_create(handlerton *hton,
+                                   TABLE_SHARE *share,
+#ifdef MRN_HANDLERTON_CREATE_HAVE_PARTITIONED
+                                   bool partitioned,
+#endif
+                                   MEM_ROOT *root)
 {
   MRN_DBUG_ENTER_FUNCTION();
   handler *new_handler = new (root) ha_mroonga(hton, share);

  Modified: ha_mroonga.hpp (+4 -0)
===================================================================
--- ha_mroonga.hpp    2017-07-21 23:51:40 +0900 (cf6c889)
+++ ha_mroonga.hpp    2017-07-21 23:55:43 +0900 (6bcd476)
@@ -253,6 +253,10 @@ extern "C" {
 #  define MRN_HANDLER_CREATE_HAVE_TABLE_DEFINITION
 #endif
 
+#if (!defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 80002)
+#  define MRN_HANDLERTON_CREATE_HAVE_PARTITIONED
+#endif
+
 class ha_mroonga;
 
 /* structs */
-------------- next part --------------
HTML����������������������������...
Download 



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