[Groonga-commit] groonga/groonga at f3684ca [master] ii: add missing log level check

Back to archive index
Kouhei Sutou null+****@clear*****
Fri Jan 18 19:22:55 JST 2019


Kouhei Sutou	2019-01-18 19:22:55 +0900 (Fri, 18 Jan 2019)

  Revision: f3684ca91e0b12d015728eae5c18083df2256435
  https://github.com/groonga/groonga/commit/f3684ca91e0b12d015728eae5c18083df2256435

  Message:
    ii: add missing log level check

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+4 -0)
===================================================================
--- lib/ii.c    2019-01-18 19:18:30 +0900 (fc6caf2cb)
+++ lib/ii.c    2019-01-18 19:22:55 +0900 (ee234dc89)
@@ -3033,6 +3033,10 @@ merge_dump_source(grn_ctx *ctx,
 {
   merge_dump_source_data data;
 
+  if (grn_logger_pass(ctx, log_level)) {
+    return;
+  }
+
   data.log_level = log_level;
   data.tag = "[ii][merge][source]";
   data.ii = ii;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190118/cea66a23/attachment.html>


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