[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] fix mrn_log_level_str.

Back to archive index

Tetsuro IKEDA null+****@clear*****
Thu Oct 4 11:18:52 JST 2012


Tetsuro IKEDA	2009-09-03 17:28:27 +0900 (Thu, 03 Sep 2009)

  New Revision: 8e5ffd191e970177eb9c31049cb075bdab828c37
  https://github.com/mroonga/mroonga/commit/8e5ffd191e970177eb9c31049cb075bdab828c37

  Log:
    fix mrn_log_level_str.

  Modified files:
    driver.c
    driver.h
    test/unit/test-driver.c

  Modified: driver.c (+1 -0)
===================================================================
--- driver.c    2009-08-27 17:25:51 +0900 (5e0475d)
+++ driver.c    2009-09-03 17:28:27 +0900 (83e1af2)
@@ -26,6 +26,7 @@ grn_logger_info mrn_logger_info = {
 
 const char *mrn_log_level_str[] =
 { 
+  "NONE",
   "EMERG",
   "ARERT",
   "CRIT",

  Modified: driver.h (+1 -0)
===================================================================
--- driver.h    2009-08-27 17:25:51 +0900 (950cd4f)
+++ driver.h    2009-09-03 17:28:27 +0900 (349bc65)
@@ -193,5 +193,6 @@ extern const char *mrn_logfile_name;
 extern FILE *mrn_logfile;
 
 extern grn_logger_info mrn_logger_info;
+extern const char *mrn_log_level_str[];
 
 #endif /* _driver_h */

  Modified: test/unit/test-driver.c (+1 -1)
===================================================================
--- test/unit/test-driver.c    2009-08-27 17:25:51 +0900 (3285197)
+++ test/unit/test-driver.c    2009-09-03 17:28:27 +0900 (b502631)
@@ -912,5 +912,5 @@ void test_get_data_type()
   cut_assert_not_null(grn_ctx_at(ctx, GRN_DB_UNIGRAM));
   cut_assert_not_null(grn_ctx_at(ctx, GRN_DB_BIGRAM));
   cut_assert_not_null(grn_ctx_at(ctx, GRN_DB_TRIGRAM));
-  cut_assert_not_null(grn_ctx_at(ctx, GRN_DB_MECAB));
+  // cut_assert_not_null(grn_ctx_at(ctx, GRN_DB_MECAB));
 }
-------------- next part --------------
HTML����������������������������...
下載 



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