[Groonga-commit] groonga/groonga at 7b52bd2 [master] grn_db_open(): set error information on error

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 8 15:30:10 JST 2015


Kouhei Sutou	2015-10-08 15:30:10 +0900 (Thu, 08 Oct 2015)

  New Revision: 7b52bd2c7ba603e947b5cb9c6c61e3b02c58fb55
  https://github.com/groonga/groonga/commit/7b52bd2c7ba603e947b5cb9c6c61e3b02c58fb55

  Message:
    grn_db_open(): set error information on error

  Modified files:
    lib/db.c

  Modified: lib/db.c (+2 -0)
===================================================================
--- lib/db.c    2015-10-08 15:28:29 +0900 (31e3275)
+++ lib/db.c    2015-10-08 15:30:10 +0900 (a7c00e7)
@@ -332,6 +332,8 @@ grn_db_open(grn_ctx *ctx, const char *path)
     gen_pathname(path, specs_path, 0);
     s->specs = grn_ja_open(ctx, specs_path);
     if (!s->specs) {
+      ERR(GRN_NO_MEMORY_AVAILABLE,
+          "[db][open] failed to open specs: <%s>", specs_path);
       goto exit;
     }
   }
-------------- next part --------------
HTML����������������������������...
Download 



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