[Groonga-mysql-commit] mroonga/mroonga at ebd1a09 [master] mysql80: some items are added in enum ha_extra_function

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jul 20 23:53:02 JST 2017


Kouhei Sutou	2017-07-20 23:53:02 +0900 (Thu, 20 Jul 2017)

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

  Message:
    mysql80: some items are added in enum ha_extra_function

  Modified files:
    ha_mroonga.cpp
    ha_mroonga.hpp

  Modified: ha_mroonga.cpp (+20 -0)
===================================================================
--- ha_mroonga.cpp    2017-07-20 23:46:29 +0900 (7b1c915)
+++ ha_mroonga.cpp    2017-07-20 23:53:02 +0900 (4960371)
@@ -564,6 +564,26 @@ static const char *mrn_inspect_extra_function(enum ha_extra_function operation)
     inspected = "HA_EXTRA_PREPARE_FOR_FORCED_CLOSE";
     break;
 #endif
+#ifdef MRN_HAVE_HA_EXTRA_SKIP_SERIALIZABLE_DD_VIEW
+  case HA_EXTRA_SKIP_SERIALIZABLE_DD_VIEW:
+    inspected = "HA_EXTRA_SKIP_SERIALIZABLE_DD_VIEW";
+    break;
+#endif
+#ifdef MRN_HAVE_HA_EXTRA_BEGIN_ALTER_COPY
+  case HA_EXTRA_BEGIN_ALTER_COPY:
+    inspected = "HA_EXTRA_BEGIN_ALTER_COPY";
+    break;
+#endif
+#ifdef MRN_HAVE_HA_EXTRA_END_ALTER_COPY
+  case HA_EXTRA_END_ALTER_COPY:
+    inspected = "HA_EXTRA_END_ALTER_COPY";
+    break;
+#endif
+#ifdef MRN_HAVE_HA_EXTRA_NO_AUTOINC_LOCKING
+  case HA_EXTRA_NO_AUTOINC_LOCKING:
+    inspected = "HA_EXTRA_NO_AUTOINC_LOCKING";
+    break;
+#endif
   }
   return inspected;
 }

  Modified: ha_mroonga.hpp (+7 -0)
===================================================================
--- ha_mroonga.hpp    2017-07-20 23:46:29 +0900 (310209e)
+++ ha_mroonga.hpp    2017-07-20 23:53:02 +0900 (c5cd7f7)
@@ -104,6 +104,13 @@ extern "C" {
 #  define MRN_HAVE_HA_EXTRA_PREPARE_FOR_FORCED_CLOSE
 #endif
 
+#if (!defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 80002)
+#define MRN_HAVE_HA_EXTRA_SKIP_SERIALIZABLE_DD_VIEW
+#define MRN_HAVE_HA_EXTRA_BEGIN_ALTER_COPY
+#define MRN_HAVE_HA_EXTRA_END_ALTER_COPY
+#define MRN_HAVE_HA_EXTRA_NO_AUTOINC_LOCKING
+#endif
+
 #if MYSQL_VERSION_ID >= 50607 && \
     (!defined(MRN_MARIADB_P) || MYSQL_VERSION_ID < 100008)
 #  define MRN_HAVE_HA_EXTRA_EXPORT
-------------- next part --------------
HTML����������������������������...
Download 



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