[Groonga-mysql-commit] mroonga/mroonga at c6d3706 [master] Add missing MariaDB version check

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 30 09:39:00 JST 2018


Kouhei Sutou	2018-07-30 09:39:00 +0900 (Mon, 30 Jul 2018)

  New Revision: c6d3706d09bab37e763766070d27e4df47ac2b97
  https://github.com/mroonga/mroonga/commit/c6d3706d09bab37e763766070d27e4df47ac2b97

  Message:
    Add missing MariaDB version check

  Modified files:
    mrn_mysql_compat.h

  Modified: mrn_mysql_compat.h (+2 -1)
===================================================================
--- mrn_mysql_compat.h    2018-07-30 09:20:30 +0900 (dbef3eb1)
+++ mrn_mysql_compat.h    2018-07-30 09:39:00 +0900 (1e70c4a9)
@@ -168,7 +168,8 @@
   typedef MYSQL_LEX_STRING mrn_thd_lex_string;
 #endif
 
-#if MYSQL_VERSION_ID >= 50600
+#if ((MYSQL_VERSION_ID >= 50600 && !defined(MRN_MARIADB_P)) ||  \
+     (MYSQL_VERSION_ID >= 100100 && defined(MRN_MARIADB_P)))
 #  define MRN_THD_VARIABLES_HAVE_BINLOG_ROW_IMAGE
 #endif
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180730/45b3884f/attachment.htm 



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