[Groonga-mysql-commit] mroonga/mroonga at 8060993 [master] mysql8: fix wrong function to get N elements

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jul 20 17:53:26 JST 2018


Kouhei Sutou	2018-07-20 17:53:26 +0900 (Fri, 20 Jul 2018)

  New Revision: 8060993c3ad07cff26890e9224a1ea9b000fad46
  https://github.com/mroonga/mroonga/commit/8060993c3ad07cff26890e9224a1ea9b000fad46

  Message:
    mysql8: fix wrong function to get N elements

  Modified files:
    mrn_mysql_compat.h

  Modified: mrn_mysql_compat.h (+1 -1)
===================================================================
--- mrn_mysql_compat.h    2018-07-20 17:37:47 +0900 (34e790a7)
+++ mrn_mysql_compat.h    2018-07-20 17:53:26 +0900 (ade5e3af)
@@ -682,7 +682,7 @@ typedef HASH mrn_table_def_cache_type;
 
 #if MYSQL_VERSION_ID >= 80011 && !defined(MRN_MARIADB_P)
 #  define MRN_KEY_PART_SPEC_LIST_N_ELEMENTS(spec_list)      \
-  spec_list.element_size()
+  spec_list.size()
 #  define MRN_KEY_PART_SPEC_LIST_EACH_BEGIN(spec_list, spec) do {       \
     for (size_t spec_i = 0; spec_i < spec_list.size(); ++spec_i) {      \
       const Key_part_spec *spec = spec_list[spec_i];
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180720/04b30b0b/attachment-0001.htm 



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