[Groonga-mysql-commit] mroonga/mroonga at 13d9253 [master] Use more meaningful name

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Apr 27 17:21:41 JST 2018


Kouhei Sutou	2018-04-27 17:21:41 +0900 (Fri, 27 Apr 2018)

  New Revision: 13d925334b350217c7fedd47753bb3f53201d1ef
  https://github.com/mroonga/mroonga/commit/13d925334b350217c7fedd47753bb3f53201d1ef

  Message:
    Use more meaningful name

  Modified files:
    mrn_mysql_compat.h

  Modified: mrn_mysql_compat.h (+8 -8)
===================================================================
--- mrn_mysql_compat.h    2018-04-27 17:20:37 +0900 (a9e7c014)
+++ mrn_mysql_compat.h    2018-04-27 17:21:41 +0900 (13866175)
@@ -165,17 +165,17 @@
 #endif
 
 #if defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 100306
-#  define mrn_init_alloc_root(PTR, NAME, SZ1, SZ2, FLAG) \
-  init_alloc_root(PTR, NAME, SZ1, SZ2, FLAG)
+#  define mrn_init_alloc_root(root, name, block_size, pre_alloc_size, flags) \
+  init_alloc_root(root, name, block_size, pre_alloc_size, flags)
 #elif defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 100000
-#  define mrn_init_alloc_root(PTR, NAME, SZ1, SZ2, FLAG) \
-  init_alloc_root(PTR, SZ1, SZ2, FLAG)
+#  define mrn_init_alloc_root(root, name, block_size, pre_alloc_size, flags) \
+  init_alloc_root(root, block_size, pre_alloc_size, flags)
 #elif MYSQL_VERSION_ID >= 50706
-#  define mrn_init_alloc_root(PTR, NAME, SZ1, SZ2, FLAG) \
-  init_alloc_root(mrn_memory_key, PTR, SZ1, SZ2)
+#  define mrn_init_alloc_root(root, name, block_size, pre_alloc_size, flags) \
+  init_alloc_root(mrn_memory_key, root, block_size, pre_alloc_size)
 #else
-#  define mrn_init_alloc_root(PTR, NAME, SZ1, SZ2, FLAG) \
-  init_alloc_root(PTR, SZ1, SZ2)
+#  define mrn_init_alloc_root(root, name, block_size, pre_alloc_size, flags) \
+  init_alloc_root(root, block_size, pre_alloc_size)
 #endif
 
 #if MYSQL_VERSION_ID < 100002 || !defined(MRN_MARIADB_P)
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180427/efdc8c01/attachment.htm 



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