[Groonga-commit] groonga/groonga at 475770d [master] load: rename to "loaded_ids" to "ids"

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 7 23:52:08 JST 2016


Kouhei Sutou	2016-12-07 23:52:08 +0900 (Wed, 07 Dec 2016)

  New Revision: 475770d9d2b8a9ee83608fa1de0be5c6a0e7bfc8
  https://github.com/groonga/groonga/commit/475770d9d2b8a9ee83608fa1de0be5c6a0e7bfc8

  Message:
    load: rename to "loaded_ids" to "ids"

  Modified files:
    lib/proc.c
    test/command/suite/load/command_version/3/output_ids.expected

  Modified: lib/proc.c (+2 -2)
===================================================================
--- lib/proc.c    2016-12-07 19:07:11 +0900 (8c1c284)
+++ lib/proc.c    2016-12-07 23:52:08 +0900 (b59a23f)
@@ -165,9 +165,9 @@ proc_load(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data)
         grn_obj *ids = &(ctx->impl->loader.ids);
         int i, n_ids;
 
-        GRN_OUTPUT_CSTR("ids");
+        GRN_OUTPUT_CSTR("loaded_ids");
         n_ids = GRN_BULK_VSIZE(ids) / sizeof(uint32_t);
-        GRN_OUTPUT_ARRAY_OPEN("ids", n_ids);
+        GRN_OUTPUT_ARRAY_OPEN("loaded_ids", n_ids);
         for (i = 0; i < n_ids; i++) {
           GRN_OUTPUT_UINT64(GRN_UINT32_VALUE_AT(ids, i));
         }

  Modified: test/command/suite/load/command_version/3/output_ids.expected (+1 -1)
===================================================================
--- test/command/suite/load/command_version/3/output_ids.expected    2016-12-07 19:07:11 +0900 (2b3b8da)
+++ test/command/suite/load/command_version/3/output_ids.expected    2016-12-07 23:52:08 +0900 (cf9e289)
@@ -14,7 +14,7 @@ load --table Users --command_version 3 --output_ids yes
   },
   "body": {
     "n_loaded_records": 2,
-    "ids": [
+    "loaded_ids": [
       1,
       0,
       2
-------------- next part --------------
HTML����������������������������...
Download 



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