Kouhei Sutou
null+****@clear*****
Thu Apr 30 19:18:48 JST 2015
Kouhei Sutou 2015-04-30 19:18:48 +0900 (Thu, 30 Apr 2015) New Revision: efc4f8188449e92cc175d3eabf897d3d83352bdc https://github.com/groonga/groonga/commit/efc4f8188449e92cc175d3eabf897d3d83352bdc Message: Fix rc check position GitHub: fix #336 Reported by Hiroaki Nakamura. Thanks!!! Modified files: lib/proc.c Modified: lib/proc.c (+2 -2) =================================================================== --- lib/proc.c 2015-04-30 13:00:59 +0900 (fc6aa69) +++ lib/proc.c 2015-04-30 19:18:48 +0900 (e207d3f) @@ -984,11 +984,11 @@ grn_select(grn_ctx *ctx, const char *table, unsigned int table_len, flags = GRN_EXPR_SYNTAX_QUERY; if (query_flags_len) { flags |= grn_parse_query_flags(ctx, query_flags, query_flags_len); - } else { - flags |= GRN_EXPR_ALLOW_PRAGMA|GRN_EXPR_ALLOW_COLUMN; if (ctx->rc) { goto exit; } + } else { + flags |= GRN_EXPR_ALLOW_PRAGMA|GRN_EXPR_ALLOW_COLUMN; } if (query_expander_len) { if (expand_query(ctx, query, query_len, flags, -------------- next part -------------- HTML����������������������������... Download