Kouhei Sutou
null+****@clear*****
Tue Oct 9 18:51:01 JST 2018
Kouhei Sutou 2018-10-09 18:51:01 +0900 (Tue, 09 Oct 2018) Revision: 710240f0bdd5bbb5fef464a15921f10a38e8038f https://github.com/groonga/groonga/commit/710240f0bdd5bbb5fef464a15921f10a38e8038f Message: io_flush: fix inverted condition Modified files: lib/proc.c Modified: lib/proc.c (+1 -1) =================================================================== --- lib/proc.c 2018-10-09 18:48:51 +0900 (dae5e548a) +++ lib/proc.c 2018-10-09 18:51:01 +0900 (4f5b29a18) @@ -3777,7 +3777,7 @@ proc_io_flush(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data) { grn_rc unlock_rc; unlock_rc = grn_obj_unlock(ctx, db, GRN_ID_NIL); - if (rc != GRN_SUCCESS) { + if (rc == GRN_SUCCESS) { rc = unlock_rc; } } -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181009/d57b3882/attachment.htm