Kouhei Sutou
null+****@clear*****
Mon May 2 16:12:46 JST 2016
Kouhei Sutou 2016-05-02 16:12:46 +0900 (Mon, 02 May 2016) New Revision: 5d367b05de01133b0e872be984a69d2f484c9fab https://github.com/groonga/groonga/commit/5d367b05de01133b0e872be984a69d2f484c9fab Message: table_create: return "false" as body for invalid type cases Modified files: lib/proc/proc_table.c Modified: lib/proc/proc_table.c (+2 -2) =================================================================== --- lib/proc/proc_table.c 2016-05-02 10:26:15 +0900 (b94aa14) +++ lib/proc/proc_table.c 2016-05-02 16:12:46 +0900 (29fc634) @@ -232,7 +232,7 @@ command_table_create(grn_ctx *ctx, GRN_TEXT_VALUE(name), (int)GRN_TEXT_LEN(key_type_name), GRN_TEXT_VALUE(key_type_name)); - return NULL; + goto exit; } } if (GRN_TEXT_LEN(value_type_name) > 0) { @@ -248,7 +248,7 @@ command_table_create(grn_ctx *ctx, GRN_TEXT_VALUE(name), (int)GRN_TEXT_LEN(value_type_name), GRN_TEXT_VALUE(value_type_name)); - return NULL; + goto exit; } } flags |= GRN_OBJ_PERSISTENT; -------------- next part -------------- HTML����������������������������... Download