[Groonga-commit] groonga/groonga at fc44e08 [master] Add mush more information to comments

Back to archive index

Yasuhiro Horimoto null+****@clear*****
Wed Jun 20 13:22:44 JST 2018


Yasuhiro Horimoto	2018-06-20 13:22:44 +0900 (Wed, 20 Jun 2018)

  New Revision: fc44e08266640d0578e3f8fcda8df70aefeec204
  https://github.com/groonga/groonga/commit/fc44e08266640d0578e3f8fcda8df70aefeec204

  Merged 8a52f23: Merge pull request #850 from komainu8/add_check_exist_with_section_flag

  Message:
    Add mush more information to comments

  Modified files:
    lib/db.c
    test/command/suite/column_create/index/without_section.expected

  Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c    2018-06-19 17:26:59 +0900 (a91ebfc09)
+++ lib/db.c    2018-06-20 13:22:44 +0900 (07fd48fb2)
@@ -8838,7 +8838,7 @@ grn_obj_set_info_source_validate(grn_ctx *ctx, grn_obj *obj, grn_obj *value)
                                            index_name, GRN_TABLE_MAX_KEY_SIZE);
             ERR(GRN_INVALID_ARGUMENT,
                 "grn_obj_set_info(): GRN_INFO_SOURCE: "
-                "vector column index must be created with WITH_SECTION flag: <%.*s>",
+                "full text index for vector column index must be created with WITH_SECTION flag: <%.*s>",
                 index_name_size, index_name);
             goto exit;
           }

  Modified: test/command/suite/column_create/index/without_section.expected (+2 -2)
===================================================================
--- test/command/suite/column_create/index/without_section.expected    2018-06-19 17:26:59 +0900 (86b683227)
+++ test/command/suite/column_create/index/without_section.expected    2018-06-20 13:22:44 +0900 (01ba8a033)
@@ -18,8 +18,8 @@ column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
       0.0,
       0.0
     ],
-    "grn_obj_set_info(): GRN_INFO_SOURCE: vector column index must be created with WITH_SECTION flag: <Terms.memos_content>"
+    "grn_obj_set_info(): GRN_INFO_SOURCE: full text index for vector column must be created with WITH_SECTION flag: <Terms.memos_con"
   ],
   false
 ]
-#|e| grn_obj_set_info(): GRN_INFO_SOURCE: vector column index must be created with WITH_SECTION flag: <Terms.memos_content>
+#|e| grn_obj_set_info(): GRN_INFO_SOURCE: full text index for vector column must be created with WITH_SECTION flag: <Terms.memos_content>
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180620/27099e06/attachment-0001.htm 



More information about the Groonga-commit mailing list
Back to archive index