Kouhei Sutou
null+****@clear*****
Mon Dec 29 18:50:21 JST 2014
Kouhei Sutou 2014-12-29 18:50:21 +0900 (Mon, 29 Dec 2014) New Revision: c3b2df3a7d947153f3efce52e474141c9c2d59ca https://github.com/groonga/groonga/commit/c3b2df3a7d947153f3efce52e474141c9c2d59ca Message: Add ctx->rc check for each filter Modified files: lib/expr.c Modified: lib/expr.c (+1 -0) =================================================================== --- lib/expr.c 2014-12-29 18:53:57 +0900 (9285de0) +++ lib/expr.c 2014-12-29 18:50:21 +0900 (f235eaf) @@ -5658,6 +5658,7 @@ grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr, } GRN_QUERY_LOG(ctx, GRN_QUERY_LOG_SIZE, ":", "filter(%d)", grn_table_size(ctx, res)); + if (ctx->rc) { break; } } for (i = 0; i < n; i++) { scan_info *si = sis[i]; -------------- next part -------------- HTML����������������������������...Download