[Groonga-mysql-commit] mroonga/mroonga at d2339ad [master] mysql57: follow init_sql_alloc() API change

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 22 22:59:12 JST 2015


Kouhei Sutou	2015-10-22 22:59:12 +0900 (Thu, 22 Oct 2015)

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

  Message:
    mysql57: follow init_sql_alloc() API change

  Modified files:
    mrn_mysql_compat.h

  Modified: mrn_mysql_compat.h (+8 -0)
===================================================================
--- mrn_mysql_compat.h    2015-10-22 22:43:53 +0900 (b36fbc7)
+++ mrn_mysql_compat.h    2015-10-22 22:59:12 +0900 (ffeff42)
@@ -221,10 +221,18 @@
                  MYF(0))
 #  endif
 #else
+#  if MYSQL_VERSION_ID >= 50709
+#    define mrn_init_sql_alloc(thd, mem_root)           \
+  init_sql_alloc(mrn_memory_key,                        \
+                 mem_root,                              \
+                 TABLE_ALLOC_BLOCK_SIZE,                \
+                 0)
+#  else
 #    define mrn_init_sql_alloc(thd, mem_root)           \
   init_sql_alloc(mem_root,                              \
                  TABLE_ALLOC_BLOCK_SIZE,                \
                  0)
+#  endif
 #endif
 
 #ifdef MRN_MARIADB_P
-------------- next part --------------
HTML����������������������������...
Download 



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