[Groonga-commit] groonga/groonga at 83667b4 [master] Remove needless information from error message

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Sep 5 14:49:25 JST 2016


Kouhei Sutou	2016-09-05 14:49:25 +0900 (Mon, 05 Sep 2016)

  New Revision: 83667b4abb97ac4c9fe71c92cf6a9b95425d3f61
  https://github.com/groonga/groonga/commit/83667b4abb97ac4c9fe71c92cf6a9b95425d3f61

  Message:
    Remove needless information from error message

  Modified files:
    lib/db.c
    test/command/suite/table_create/flags/default.expected

  Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c    2016-09-03 17:05:42 +0900 (7574a7e)
+++ lib/db.c    2016-09-05 14:49:25 +0900 (9192e55)
@@ -1016,7 +1016,7 @@ grn_table_create_validate(grn_ctx *ctx, const char *name, unsigned int name_size
     ERR(GRN_INVALID_ARGUMENT,
         "[table][create] "
         "key type is required for TABLE_HASH_KEY, TABLE_PAT_KEY or "
-        "TABLE_DAT_KEY: <%.*s> (null)", name_size, name);
+        "TABLE_DAT_KEY: <%.*s>", name_size, name);
     return ctx->rc;
   }
 

  Modified: test/command/suite/table_create/flags/default.expected (+2 -2)
===================================================================
--- test/command/suite/table_create/flags/default.expected    2016-09-03 17:05:42 +0900 (6ad3188)
+++ test/command/suite/table_create/flags/default.expected    2016-09-05 14:49:25 +0900 (88a89c5)
@@ -6,8 +6,8 @@ table_create bookmarks
       0.0,
       0.0
     ],
-    "[table][create] key type is required for TABLE_HASH_KEY, TABLE_PAT_KEY or TABLE_DAT_KEY: <bookmarks> (null)"
+    "[table][create] key type is required for TABLE_HASH_KEY, TABLE_PAT_KEY or TABLE_DAT_KEY: <bookmarks>"
   ],
   false
 ]
-#|e| [table][create] key type is required for TABLE_HASH_KEY, TABLE_PAT_KEY or TABLE_DAT_KEY: <bookmarks> (null)
+#|e| [table][create] key type is required for TABLE_HASH_KEY, TABLE_PAT_KEY or TABLE_DAT_KEY: <bookmarks>
-------------- next part --------------
HTML����������������������������...
Download 



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