[Groonga-commit] groonga/groonga [master] Add more details to error message

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Mar 5 17:14:53 JST 2013


Kouhei Sutou	2013-03-05 17:14:53 +0900 (Tue, 05 Mar 2013)

  New Revision: 26bb81ae2ee9fb3373e666d04e784de989a9053f
  https://github.com/groonga/groonga/commit/26bb81ae2ee9fb3373e666d04e784de989a9053f

  Log:
    Add more details to error message

  Modified files:
    lib/db.c

  Modified: lib/db.c (+2 -1)
===================================================================
--- lib/db.c    2013-03-05 17:11:32 +0900 (dc682c1)
+++ lib/db.c    2013-03-05 17:14:53 +0900 (26ed87c)
@@ -187,7 +187,8 @@ grn_db_create(grn_ctx *ctx, const char *path, grn_db_create_optarg *optarg)
             grn_db_init_builtin_types(ctx);
             GRN_API_RETURN((grn_obj *)s);
           } else {
-            ERR(GRN_NO_MEMORY_AVAILABLE, "ja create failed");
+            ERR(GRN_NO_MEMORY_AVAILABLE,
+                "failed to create specs: <%s>", specs_path);
           }
         } else {
           s->specs = NULL;
-------------- next part --------------
HTML����������������������������...
Download 



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