[Groonga-commit] groonga/groonga at 5a4fc65 [master] mruby: follow weight number may be int32 change

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Oct 22 10:14:20 JST 2014


Kouhei Sutou	2014-10-22 10:14:20 +0900 (Wed, 22 Oct 2014)

  New Revision: 5a4fc6531e929fdcc73a0270a7b18bfaa78d9929
  https://github.com/groonga/groonga/commit/5a4fc6531e929fdcc73a0270a7b18bfaa78d9929

  Message:
    mruby: follow weight number may be int32 change

  Modified files:
    lib/mrb/scripts/scan_info_data.rb

  Modified: lib/mrb/scripts/scan_info_data.rb (+2 -1)
===================================================================
--- lib/mrb/scripts/scan_info_data.rb    2014-10-22 09:55:50 +0900 (67d0bc3)
+++ lib/mrb/scripts/scan_info_data.rb    2014-10-22 10:14:20 +0900 (a75b1cf)
@@ -119,7 +119,8 @@ module Groonga
           rest_n_codes = n_codes - i
           if rest_n_codes >= 2 and
               codes[i + 1].value.is_a?(Bulk) and
-              codes[i + 1].value.domain == ID::UINT32 and
+              (codes[i + 1].value.domain == ID::UINT32 or
+               codes[i + 1].value.domain == ID::INT32) and
               codes[i + 2].op == Operator::GET_MEMBER
             section_id = codes[i + 1].value.value + 1
             code = codes[i + 2]
-------------- next part --------------
HTML����������������������������...
Descargar 



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