Kouhei Sutou
null+****@clear*****
Wed Feb 11 18:41:43 JST 2015
Kouhei Sutou 2015-02-11 18:41:43 +0900 (Wed, 11 Feb 2015) New Revision: a71621d22987b08ce602f8d80b358962a131f033 https://github.com/groonga/groonga/commit/a71621d22987b08ce602f8d80b358962a131f033 Message: Support range search with single-column index again Range search with multi-column index enbuged. :< Modified files: lib/expr.c Modified: lib/expr.c (+1 -1) =================================================================== --- lib/expr.c 2015-02-11 18:32:09 +0900 (d7b2478) +++ lib/expr.c 2015-02-11 18:41:43 +0900 (34bd4ba) @@ -4788,7 +4788,7 @@ grn_table_select_index_range_column(grn_ctx *ctx, grn_obj *table, if (index_cursor) { grn_posting *posting; while ((posting = grn_index_cursor_next(ctx, index_cursor, NULL))) { - if (posting->sid == sid) { + if (sid == 0 || posting->sid == sid) { grn_ii_posting ii_posting; ii_posting.rid = posting->rid; ii_posting.sid = posting->sid; -------------- next part -------------- HTML����������������������������... Download