[Groonga-mysql-commit] mroonga/mroonga [master] mariadb10: fix not to define MRN_HAVE_SQL_OPTIMIZER_H for MariaDB 10.0

Back to archive index

HAYASHI Kentaro null+****@clear*****
Tue Nov 20 14:23:36 JST 2012


HAYASHI Kentaro	2012-11-20 14:23:36 +0900 (Tue, 20 Nov 2012)

  New Revision: 5f10bc15bdad7714bf70036b361504118c1dfca2
  https://github.com/mroonga/mroonga/commit/5f10bc15bdad7714bf70036b361504118c1dfca2

  Log:
    mariadb10: fix not to define MRN_HAVE_SQL_OPTIMIZER_H for MariaDB 10.0
    
    MariaDB 10.0 does not contain sql_optimizer.h

  Modified files:
    mrn_mysql.h

  Modified: mrn_mysql.h (+3 -1)
===================================================================
--- mrn_mysql.h    2012-11-20 12:01:14 +0900 (551a658)
+++ mrn_mysql.h    2012-11-20 14:23:36 +0900 (9ace675)
@@ -59,7 +59,9 @@
 #endif
 
 #if MYSQL_VERSION_ID >= 50607
-#  define MRN_HAVE_SQL_OPTIMIZER_H
+#  if !defined(MRN_MARIADB_P)
+#    define MRN_HAVE_SQL_OPTIMIZER_H
+#  endif
 #endif
 
 #define MRN_MESSAGE_BUFFER_SIZE 1024
-------------- next part --------------
HTML����������������������������...
Download 



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