[Groonga-mysql-commit] mroonga/mroonga at 076e96c [master] Fix build error on MySQL 5.6

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 16 23:41:10 JST 2013


Kouhei Sutou	2013-05-16 23:41:10 +0900 (Thu, 16 May 2013)

  New Revision: 076e96cc3cbdaa432c48198f843c4a939c3468b1
  https://github.com/mroonga/mroonga/commit/076e96cc3cbdaa432c48198f843c4a939c3468b1

  Message:
    Fix build error on MySQL 5.6
    
        ha_mroonga.cpp:7734:36: error: 'struct KEY' has no member named 'key_parts'

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2013-05-16 10:52:35 +0900 (aa47dab)
+++ ha_mroonga.cpp    2013-05-16 23:41:10 +0900 (8508cfe)
@@ -7731,7 +7731,7 @@ bool ha_mroonga::generic_ft_init_ext_parse_pragma_w(struct st_mrn_ft_info *info,
 
   *consumed_keyword_length = 0;
 
-  int n_sections = info->key_info->key_parts;
+  int n_sections = KEY_N_KEY_PARTS(info->key_info);
 
   uint n_weights = 0;
   while (keyword_length >= 1) {
-------------- next part --------------
HTML����������������������������...
Download 



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