Kouhei Sutou
null+****@clear*****
Sat Aug 26 10:15:29 JST 2017
Kouhei Sutou 2017-08-26 10:15:29 +0900 (Sat, 26 Aug 2017) New Revision: 92883875635e28a593da74165c29e4ccdf66fa47 https://github.com/groonga/groonga/commit/92883875635e28a593da74165c29e4ccdf66fa47 Message: schema: fix a typo in command line parameter name sources source - [groonga-dev,04449] Reported by murata satoshi. Thanks!!! Modified files: lib/proc/proc_schema.c test/command/suite/schema/tables/columns/type/index_medium.expected test/command/suite/schema/tables/columns/type/index_small.expected Modified: lib/proc/proc_schema.c (+1 -1) =================================================================== --- lib/proc/proc_schema.c 2017-08-25 18:55:13 +0900 (d9ea418e3) +++ lib/proc/proc_schema.c 2017-08-26 10:15:29 +0900 (eb1e71943) @@ -964,7 +964,7 @@ command_schema_column_command_collect_arguments(grn_ctx *ctx, GRN_TEXT_PUT(ctx, &sources, name, name_size); } GRN_TEXT_PUTC(ctx, &sources, '\0'); - ADD("sources", GRN_TEXT_VALUE(&sources)); + ADD("source", GRN_TEXT_VALUE(&sources)); GRN_OBJ_FIN(ctx, &sources); } GRN_OBJ_FIN(ctx, &source_ids); Modified: test/command/suite/schema/tables/columns/type/index_medium.expected (+2 -2) =================================================================== --- test/command/suite/schema/tables/columns/type/index_medium.expected 2017-08-25 18:55:13 +0900 (451adf46e) +++ test/command/suite/schema/tables/columns/type/index_medium.expected 2017-08-26 10:15:29 +0900 (a6679d912) @@ -403,9 +403,9 @@ schema "name": "index", "flags": "COLUMN_INDEX|WITH_SECTION|WITH_WEIGHT|WITH_POSITION|INDEX_MEDIUM", "type": "Posts", - "sources": "_key,title,content" + "source": "_key,title,content" }, - "command_line": "column_create --table Terms --name index --flags COLUMN_INDEX|WITH_SECTION|WITH_WEIGHT|WITH_POSITION|INDEX_MEDIUM --type Posts --sources _key,title,content" + "command_line": "column_create --table Terms --name index --flags COLUMN_INDEX|WITH_SECTION|WITH_WEIGHT|WITH_POSITION|INDEX_MEDIUM --type Posts --source _key,title,content" } } } Modified: test/command/suite/schema/tables/columns/type/index_small.expected (+2 -2) =================================================================== --- test/command/suite/schema/tables/columns/type/index_small.expected 2017-08-25 18:55:13 +0900 (28afe80ea) +++ test/command/suite/schema/tables/columns/type/index_small.expected 2017-08-26 10:15:29 +0900 (b3b7d1437) @@ -403,9 +403,9 @@ schema "name": "index", "flags": "COLUMN_INDEX|WITH_SECTION|WITH_WEIGHT|WITH_POSITION|INDEX_SMALL", "type": "Posts", - "sources": "_key,title,content" + "source": "_key,title,content" }, - "command_line": "column_create --table Terms --name index --flags COLUMN_INDEX|WITH_SECTION|WITH_WEIGHT|WITH_POSITION|INDEX_SMALL --type Posts --sources _key,title,content" + "command_line": "column_create --table Terms --name index --flags COLUMN_INDEX|WITH_SECTION|WITH_WEIGHT|WITH_POSITION|INDEX_SMALL --type Posts --source _key,title,content" } } } -------------- next part -------------- HTML����������������������������...Download