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

Back to archive index
Kentaro Hayashi null+****@clear*****
Mon Nov 19 14:00:50 JST 2018


Kentaro Hayashi	2018-11-19 14:00:50 +0900 (Mon, 19 Nov 2018)

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

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

  Modified files:
    ha_mroonga.hpp

  Modified: ha_mroonga.hpp (+2 -1)
===================================================================
--- ha_mroonga.hpp    2018-11-19 11:39:09 +0900 (69735d5e)
+++ ha_mroonga.hpp    2018-11-19 14:00:50 +0900 (051d4eae)
@@ -234,7 +234,8 @@ 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)
+#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
 #endif
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20181119/849808ff/attachment.html>


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