[Groonga-commit] groonga/groonga [master] report error code.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 11月 23日 (火) 21:50:19 JST


Kouhei Sutou	2010-11-23 12:50:19 +0000 (Tue, 23 Nov 2010)

  New Revision: 678131a68b752f9e97034f447805b315fb6bd438

  Log:
    report error code.

  Modified files:
    src/grntest.c

  Modified: src/grntest.c (+2 -1)
===================================================================
--- src/grntest.c    2010-11-23 12:19:56 +0000 (f10cdf8)
+++ src/grntest.c    2010-11-23 12:50:19 +0000 (ee67536)
@@ -264,7 +264,8 @@ http_p(int jobtype)
 static int
 error_exit_in_thread(intptr_t code)
 {
-  fprintf(stderr, "Fatal error! Check script file or database!\n");
+  fprintf(stderr,
+          "Fatal error! Check script file or database!: %ld\n", (long)code);
   fflush(stderr);
   CRITICAL_SECTION_ENTER(grntest_cs);
   grntest_stop_flag = 1;




Groonga-commit メーリングリストの案内
Back to archive index