[Groonga-mysql-commit] mroonga/mroonga at 9ad6e47 [master] mariadb55: fix build error on Fedora 19

Back to archive index

HAYASHI Kentaro null+****@clear*****
Fri Aug 23 17:35:31 JST 2013


HAYASHI Kentaro	2013-08-23 17:35:31 +0900 (Fri, 23 Aug 2013)

  New Revision: 9ad6e476631f82f00e70b228fde8f5628d7ce3f1
  https://github.com/mroonga/mroonga/commit/9ad6e476631f82f00e70b228fde8f5628d7ce3f1

  Message:
    mariadb55: fix build error on Fedora 19
    
    On Fedora 19, MariaDB 5.5.31 is used as default version.
    Note that Alter_info::ALTER_XXX is defined since MariaDB 10.0.4.

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2013-08-23 13:52:53 +0900 (1356f8c)
+++ ha_mroonga.cpp    2013-08-23 17:35:31 +0900 (25d75d5)
@@ -1310,7 +1310,7 @@ static void mrn_grn_time_to_mysql_time(long long int grn_time,
 static uint mrn_alter_table_flags(uint flags) {
   uint ret_flags = 0;
 #ifdef HA_INPLACE_ADD_INDEX_NO_READ_WRITE
-#if defined(MRN_MARIADB_P)
+#if defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 100004
   if (((flags & Alter_info::ALTER_ADD_INDEX) &&
       (flags & Alter_info::ALTER_DROP_INDEX)) ||
       (flags & Alter_info::ALTER_CHANGE_COLUMN))
-------------- next part --------------
HTML����������������������������...
Télécharger 



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