[Groonga-mysql-commit] mroonga/mroonga [master] fix build errors for MySQL 5.6.3. refs #1223

Back to archive index

null+****@clear***** null+****@clear*****
2011年 12月 22日 (木) 01:11:18 JST


Kentoku	2011-12-21 16:11:18 +0000 (Wed, 21 Dec 2011)

  New Revision: 174c7b37cd064cf63ce846c5f1999f3c332da8a4

  Log:
    fix build errors for MySQL 5.6.3. refs #1223

  Modified files:
    ha_mroonga.h
    mrn_mysql_compat.h

  Modified: ha_mroonga.h (+1 -1)
===================================================================
--- ha_mroonga.h    2011-12-21 07:02:33 +0000 (d0457fd)
+++ ha_mroonga.h    2011-12-21 16:11:18 +0000 (e273f17)
@@ -57,7 +57,7 @@ extern "C" {
 #  define MRN_HANDLER_HAVE_HA_INDEX_NEXT_SAME 1
 #endif
 
-#if (MYSQL_VERSION_ID >= 50604) || \
+#if (MYSQL_VERSION_ID >= 50603) || \
     (defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 50302)
 #  define MRN_HANDLER_HAVE_HA_CLOSE 1
 #  define MRN_HANDLER_HAVE_MULTI_RANGE_READ 1

  Modified: mrn_mysql_compat.h (+2 -2)
===================================================================
--- mrn_mysql_compat.h    2011-12-21 07:02:33 +0000 (01b86d0)
+++ mrn_mysql_compat.h    2011-12-21 16:11:18 +0000 (ea7ebc6)
@@ -48,11 +48,11 @@
   typedef MYSQL_ERROR Sql_condition;
 #endif
 
-#if (defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 50302)
+#if (defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 50302) || MYSQL_VERSION_ID >= 50603
   typedef COST_VECT Cost_estimate;
 #endif
 
-#if MYSQL_VERSION_ID >= 50516
+#if (MYSQL_VERSION_ID >= 50516 && MYSQL_VERSION_ID < 50600) || MYSQL_VERSION_ID >= 50604
 #  define MRN_PLUGIN_HAVE_FLAGS 1
 #endif
 




Groonga-mysql-commit メーリングリストの案内
Back to archive index