Naoya Murakami
null+****@clear*****
Fri Jan 13 20:44:30 JST 2017
Naoya Murakami 2017-01-13 20:44:30 +0900 (Fri, 13 Jan 2017) New Revision: 95b155ada375426a35d9c1638728ebdcfc294061 https://github.com/groonga/groonga/commit/95b155ada375426a35d9c1638728ebdcfc294061 Merged c350584: Merge pull request #624 from naoa/master Message: Reset min record id if don't use grn_table_select_index Modified files: lib/expr.c Modified: lib/expr.c (+3 -0) =================================================================== --- lib/expr.c 2017-01-13 20:42:23 +0900 (0403b95) +++ lib/expr.c 2017-01-13 20:44:30 +0900 (14105a3) @@ -6874,6 +6874,7 @@ grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr, grn_table_setoperation(ctx, res_, res, res_, si->logical_op); grn_obj_close(ctx, res); res = res_; + min = GRN_ID_NIL; } else { grn_bool processed = GRN_FALSE; if (si->flags & SCAN_PUSH) { @@ -6885,6 +6886,7 @@ grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr, } GRN_PTR_PUT(ctx, &res_stack, res); res = res_; + min = GRN_ID_NIL; } if (si->logical_op != GRN_OP_AND) { min = GRN_ID_NIL; @@ -6896,6 +6898,7 @@ grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr, e->codes_curr = si->end - si->start + 1; grn_table_select_sequential(ctx, table, (grn_obj *)e, v, res, si->logical_op); + min = GRN_ID_NIL; } } GRN_QUERY_LOG(ctx, GRN_QUERY_LOG_SIZE, -------------- next part -------------- HTML����������������������������...Download