[Groonga-commit] groonga/groonga at f9c6722 [master] select: use tag

Back to archive index

Kouhei Sutou null+****@clear*****
Fri May 20 16:34:47 JST 2016


Kouhei Sutou	2016-05-20 16:34:47 +0900 (Fri, 20 May 2016)

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

  Message:
    select: use tag

  Modified files:
    lib/proc/proc_select.c
    test/unit/core/test-command-select.c

  Modified: lib/proc/proc_select.c (+1 -1)
===================================================================
--- lib/proc/proc_select.c    2016-05-20 16:05:03 +0900 (100966a)
+++ lib/proc/proc_select.c    2016-05-20 16:34:47 +0900 (f01ea19)
@@ -1880,7 +1880,7 @@ grn_select(grn_ctx *ctx, grn_select_data *data)
   table = grn_ctx_get(ctx, data->table.value, data->table.length);
   if (!table) {
     ERR(GRN_INVALID_ARGUMENT,
-        "[select] invalid table name: <%.*s>",
+        "[select][table] invalid name: <%.*s>",
         (int)(data->table.length),
         data->table.value);
     goto exit;

  Modified: test/unit/core/test-command-select.c (+3 -3)
===================================================================
--- test/unit/core/test-command-select.c    2016-05-20 16:05:03 +0900 (4d9c18b)
+++ test/unit/core/test-command-select.c    2016-05-20 16:34:47 +0900 (8fd01d6)
@@ -369,7 +369,7 @@ test_nonexistent_table(void)
 
   grn_ctx_send(context, command, strlen(command), 0);
   grn_test_assert_error(GRN_INVALID_ARGUMENT,
-                        "invalid table name: <nonexistent>",
+                        "[select][table] invalid name: <nonexistent>",
                         context);
 }
 
@@ -581,13 +581,13 @@ data_not_tokenize_by_full_width_space(void)
                  NULL)
 
   ADD_DATA("separator",
-           "invalid table name: <Sites --output_columns>",
+           "[select][table] invalid name: <Sites --output_columns>",
            "select Sites"
            " "
            "--output_columns _key");
 
   ADD_DATA("prepend",
-           "invalid table name: < Sites>",
+           "[select][table] invalid name: < Sites>",
            "select "
            "  Sites"
            " "
-------------- next part --------------
HTML����������������������������...
Download 



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