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

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:33:38 JST 2012


Kouhei Sutou	2011-12-22 07:56:22 +0900 (Thu, 22 Dec 2011)

  New Revision: 9377e12f729e4c12c61ee789e7e4ca2b2d870e42
  https://github.com/mroonga/mroonga/commit/9377e12f729e4c12c61ee789e7e4ca2b2d870e42

  Log:
    Revert "fix build errors for MySQL 5.6.3. refs #1223"
    
    This reverts commit 174c7b37cd064cf63ce846c5f1999f3c332da8a4.

  Modified files:
    ha_mroonga.h
    mrn_mysql_compat.h

  Modified: ha_mroonga.h (+1 -1)
===================================================================
--- ha_mroonga.h    2011-12-22 01:11:18 +0900 (e273f17)
+++ ha_mroonga.h    2011-12-22 07:56:22 +0900 (d0457fd)
@@ -57,7 +57,7 @@ extern "C" {
 #  define MRN_HANDLER_HAVE_HA_INDEX_NEXT_SAME 1
 #endif
 
-#if (MYSQL_VERSION_ID >= 50603) || \
+#if (MYSQL_VERSION_ID >= 50604) || \
     (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-22 01:11:18 +0900 (ea7ebc6)
+++ mrn_mysql_compat.h    2011-12-22 07:56:22 +0900 (01b86d0)
@@ -48,11 +48,11 @@
   typedef MYSQL_ERROR Sql_condition;
 #endif
 
-#if (defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 50302) || MYSQL_VERSION_ID >= 50603
+#if (defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 50302)
   typedef COST_VECT Cost_estimate;
 #endif
 
-#if (MYSQL_VERSION_ID >= 50516 && MYSQL_VERSION_ID < 50600) || MYSQL_VERSION_ID >= 50604
+#if MYSQL_VERSION_ID >= 50516
 #  define MRN_PLUGIN_HAVE_FLAGS 1
 #endif
 
-------------- next part --------------
HTML����������������������������...
Download 



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