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

Back to archive index

Kentoku null+****@clear*****
Thu Oct 4 11:08:48 JST 2012


Kentoku	2011-12-22 01:11:18 +0900 (Thu, 22 Dec 2011)

  New Revision: 174c7b37cd064cf63ce846c5f1999f3c332da8a4
  https://github.com/mroonga/mroonga/commit/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 16:02:33 +0900 (d0457fd)
+++ ha_mroonga.h    2011-12-22 01:11:18 +0900 (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 16:02:33 +0900 (01b86d0)
+++ mrn_mysql_compat.h    2011-12-22 01:11:18 +0900 (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
 
-------------- next part --------------
HTML����������������������������...
Download 



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