[Groonga-mysql-commit] mroonga/mroonga at 9f1c6c2 [master] Simplify

Back to archive index
Kouhei Sutou null+****@clear*****
Mon Nov 19 15:08:57 JST 2018


Kouhei Sutou	2018-11-19 15:08:57 +0900 (Mon, 19 Nov 2018)

  Revision: 9f1c6c202fd9db6847a90ddceeb33fedd1d9567f
  https://github.com/mroonga/mroonga/commit/9f1c6c202fd9db6847a90ddceeb33fedd1d9567f

  Message:
    Simplify

  Modified files:
    ha_mroonga.hpp

  Modified: ha_mroonga.hpp (+5 -3)
===================================================================
--- ha_mroonga.hpp    2018-11-19 14:00:50 +0900 (051d4eae)
+++ ha_mroonga.hpp    2018-11-19 15:08:57 +0900 (bcaa696a)
@@ -234,9 +234,11 @@ extern "C" {
 #endif
 
 /* Note that MariaDB 10.2.2 and older MariaDB 10.2 series are not supported since 8.07 */
-#if (MYSQL_VERSION_ID >= 100136 && defined(MRN_MARIADB_P)) || \
-  (MYSQL_VERSION_ID >= 100037 && MYSQL_VERSION_ID < 100100 && defined(MRN_MARIADB_P))
-#  define MRN_FOREIGN_KEY_USE_METHOD_ENUM
+#ifdef MRN_MARIADB_P
+#  if (MYSQL_VERSION_ID >= 100037 && MYSQL_VERSION_ID < 100100) || \
+      (MYSQL_VERSION_ID >= 100136)
+#    define MRN_FOREIGN_KEY_USE_METHOD_ENUM
+#  endif
 #endif
 
 #if MYSQL_VERSION_ID < 50706 || defined(MRN_MARIADB_P)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20181119/73ee567a/attachment.html>


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