[Groonga-mysql-commit] mroonga/mroonga at 3066587 [master] Fix a bug that Mroonga_log_level variable value can't be set in my.cnf

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 13 15:35:57 JST 2013


Kouhei Sutou	2013-05-13 15:35:57 +0900 (Mon, 13 May 2013)

  New Revision: 3066587f3b23032ef94620f66331e3d251eea568
  https://github.com/mroonga/mroonga/commit/3066587f3b23032ef94620f66331e3d251eea568

  Message:
    Fix a bug that Mroonga_log_level variable value can't be set in my.cnf
    
    [groonga-dev,01379]
    
    Reported by Kazuhiro Isobe. Thanks!!!

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -0)
===================================================================
--- ha_mroonga.cpp    2013-05-12 16:11:18 +0900 (d387546)
+++ ha_mroonga.cpp    2013-05-13 15:35:57 +0900 (b01a437)
@@ -1682,6 +1682,7 @@ static int mrn_init(void *p)
     goto err_log_mutex_init;
   }
 
+  mrn_logger.max_level = static_cast<grn_log_level>(mrn_log_level);
   grn_logger_set(ctx, &mrn_logger);
   if (!(mrn_log_file = fopen(mrn_log_file_path, "a"))) {
     goto err_log_file_open;
-------------- next part --------------
HTML����������������������������...
Download 



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