null+****@clear*****
null+****@clear*****
2010年 8月 27日 (金) 17:37:48 JST
Daijiro MORI 2010-08-27 08:37:48 +0000 (Fri, 27 Aug 2010) New Revision: 5d41f15c867a7ff93341a3e6fa2637ece83e47bf Log: delete command returns false when no corresponding record found. Modified files: lib/proc.c Modified: lib/proc.c (+1 -1) =================================================================== --- lib/proc.c 2010-08-27 07:55:47 +0000 (cccd1df) +++ lib/proc.c 2010-08-27 08:37:48 +0000 (53073cc) @@ -1353,7 +1353,7 @@ proc_delete(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data) } else { ERR(GRN_INVALID_ARGUMENT, "unknown table name"); } - GRN_OUTPUT_BOOL(!ctx->rc); + GRN_OUTPUT_BOOL(!rc); return NULL; }