[Groonga-commit] groonga/groonga at 2f36ec5 [master] select: add query log for "columns" evaluation

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Feb 21 14:24:45 JST 2017


Kouhei Sutou	2017-02-21 14:24:45 +0900 (Tue, 21 Feb 2017)

  New Revision: 2f36ec5bb90dceaf0ff372aabb15d8b6079ed01a
  https://github.com/groonga/groonga/commit/2f36ec5bb90dceaf0ff372aabb15d8b6079ed01a

  Message:
    select: add query log for "columns" evaluation

  Modified files:
    lib/proc/proc_select.c

  Modified: lib/proc/proc_select.c (+6 -0)
===================================================================
--- lib/proc/proc_select.c    2017-02-16 18:09:51 +0900 (ff6ea68)
+++ lib/proc/proc_select.c    2017-02-21 14:24:45 +0900 (ad21ff2)
@@ -1389,6 +1389,12 @@ grn_select_apply_columns(grn_ctx *ctx,
     }
 
     grn_obj_close(ctx, expression);
+
+    GRN_QUERY_LOG(ctx, GRN_QUERY_LOG_SIZE,
+                  ":", "columns(%d)[%.*s]",
+                  grn_table_size(ctx, table),
+                  (int)(column_data->label.length),
+                  column_data->label.value);
   }
 
   grn_hash_cursor_close(ctx, columns_cursor);
-------------- next part --------------
HTML����������������������������...
Descargar 



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