[Groonga-mysql-commit] mroonga/mroonga at 59d0507 [master] mairadb55: fix wrong API wrapping

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 16 23:54:52 JST 2015


Kouhei Sutou	2015-03-16 23:54:52 +0900 (Mon, 16 Mar 2015)

  New Revision: 59d0507907d9509fbeefbed702fe9621cb3fb66c
  https://github.com/mroonga/mroonga/commit/59d0507907d9509fbeefbed702fe9621cb3fb66c

  Message:
    mairadb55: fix wrong API wrapping

  Modified files:
    mrn_mysql_compat.h

  Modified: mrn_mysql_compat.h (+1 -1)
===================================================================
--- mrn_mysql_compat.h    2015-03-16 23:47:20 +0900 (aa1d256)
+++ mrn_mysql_compat.h    2015-03-16 23:54:52 +0900 (c1b2b14)
@@ -61,7 +61,7 @@
 #  define KEY_N_KEY_PARTS(key) (key)->key_parts
 #endif
 
-#ifdef MRN_MARIADB_P
+#if defined(MRN_MARIADB_P) && MYSQL_VERSION >= 100000
 #  define mrn_init_alloc_root(PTR, SZ1, SZ2, FLAG) \
   init_alloc_root(PTR, SZ1, SZ2, FLAG)
 #elif MYSQL_VERSION_ID >= 50706
-------------- next part --------------
HTML����������������������������...
Download 



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