[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] mariadb: follow auto_repair() signature change in 5.3.6

Back to archive index

Kazuhiko null+****@clear*****
Thu Oct 4 10:42:41 JST 2012


Kazuhiko	2012-04-27 15:25:43 +0900 (Fri, 27 Apr 2012)

  New Revision: 1c3e9a432da69b752ea43767d2fef8548943a665
  https://github.com/mroonga/mroonga/commit/1c3e9a432da69b752ea43767d2fef8548943a665

  Log:
    mariadb: follow auto_repair() signature change in 5.3.6
    
    fixes #1339

  Modified files:
    ha_mroonga.hpp

  Modified: ha_mroonga.hpp (+3 -1)
===================================================================
--- ha_mroonga.hpp    2012-04-27 03:35:25 +0900 (2b15144)
+++ ha_mroonga.hpp    2012-04-27 15:25:43 +0900 (8e9b28f)
@@ -129,7 +129,9 @@ extern "C" {
 #  define MRN_HAVE_TL_WRITE_ALLOW_READ
 #endif
 
-#if (defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 50523)
+#if (defined(MRN_MARIADB_P) && \
+     ((MYSQL_VERSION_ID >= 50306 && MYSQL_VERSION_ID < 50500) || \
+      MYSQL_VERSION_ID >= 50523))
 #  define MRN_HANDLER_AUTO_REPAIR_HAVE_ERROR
 #endif
 
-------------- next part --------------
HTML����������������������������...
Download 



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