[Groonga-mysql-commit] mroonga/mroonga at e32fbf8 [master] mariadb10.1: follow the field type change

Back to archive index

Kentaro Hayashi null+****@clear*****
Wed Sep 26 18:01:55 JST 2018


Kentaro Hayashi	2018-09-26 18:01:55 +0900 (Wed, 26 Sep 2018)

  Revision: e32fbf89241962b0ba884393271e9040ec08fc53
  https://github.com/mroonga/mroonga/commit/e32fbf89241962b0ba884393271e9040ec08fc53

  Message:
    mariadb10.1: follow the field type change
    
    Since MariaDB 10.1.36, the following field in FOREIGN_KEY_INFO is
    changed.
    
    LEX_STRING *update_method ->
    enum_fk_option update_method

  Modified files:
    ha_mroonga.hpp

  Modified: ha_mroonga.hpp (+2 -1)
===================================================================
--- ha_mroonga.hpp    2018-09-26 17:53:34 +0900 (e9c73c97)
+++ ha_mroonga.hpp    2018-09-26 18:01:55 +0900 (a81bbffc)
@@ -233,7 +233,8 @@ extern "C" {
 #  define MRN_HAVE_HTON_ALTER_TABLE_FLAGS
 #endif
 
-#if MYSQL_VERSION_ID >= 100203 && defined(MRN_MARIADB_P)
+#if ((MYSQL_VERSION_ID >= 100203 && defined(MRN_MARIADB_P)) ||	\
+  (MYSQL_VERSION_ID >= 100136 && defined(MRN_MARIADB_P)))
 #  define MRN_FOREIGN_KEY_USE_METHOD_ENUM
 #endif
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180926/de3068b7/attachment.htm 



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