[Groonga-commit] groonga/groonga at d5d9657 [master] groonga-httpd: set loggers on closing database

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Sep 26 13:22:56 JST 2013


Kouhei Sutou	2013-09-26 13:22:56 +0900 (Thu, 26 Sep 2013)

  New Revision: d5d965750c2059b9a29f3db2bf526e02a615220c
  https://github.com/groonga/groonga/commit/d5d965750c2059b9a29f3db2bf526e02a615220c

  Message:
    groonga-httpd: set loggers on closing database

  Modified files:
    src/httpd/nginx-module/ngx_http_groonga_module.c

  Modified: src/httpd/nginx-module/ngx_http_groonga_module.c (+8 -0)
===================================================================
--- src/httpd/nginx-module/ngx_http_groonga_module.c    2013-09-26 13:21:41 +0900 (6f723a2)
+++ src/httpd/nginx-module/ngx_http_groonga_module.c    2013-09-26 13:22:56 +0900 (660a186)
@@ -1183,6 +1183,14 @@ ngx_http_groonga_close_database_callback(ngx_http_groonga_loc_conf_t *location_c
   grn_ctx *context;
 
   context = &(location_conf->context);
+  ngx_http_groonga_context_init_logger(context,
+                                       location_conf,
+                                       data->pool,
+                                       data->log);
+  ngx_http_groonga_context_init_query_logger(context,
+                                             location_conf,
+                                             data->pool,
+                                             data->log);
   grn_cache_current_set(context, location_conf->cache);
 
   grn_obj_close(context, grn_ctx_db(context));
-------------- next part --------------
HTML����������������������������...
Download 



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