[Groonga-commit] groonga/groonga at 22b1f9e [master] select: ensure freeing keys for drilldown

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Nov 16 16:41:12 JST 2014


Kouhei Sutou	2014-11-16 16:41:12 +0900 (Sun, 16 Nov 2014)

  New Revision: 22b1f9ebfd9b21c91dc1283dce4231c967c9a841
  https://github.com/groonga/groonga/commit/22b1f9ebfd9b21c91dc1283dce4231c967c9a841

  Message:
    select: ensure freeing keys for drilldown

  Modified files:
    lib/proc.c

  Modified: lib/proc.c (+2 -0)
===================================================================
--- lib/proc.c    2014-11-16 16:39:30 +0900 (9babbed)
+++ lib/proc.c    2014-11-16 16:41:12 +0900 (f8abac3)
@@ -911,6 +911,8 @@ grn_select(grn_ctx *ctx, const char *table, unsigned int table_len,
                              drilldown_sortby, drilldown_sortby_len,
                              drilldown_output_columns,
                              drilldown_output_columns_len);
+      }
+      if (gkeys) {
         grn_table_sort_key_close(ctx, gkeys, ngkeys);
       }
       if (res != table_) { grn_obj_unlink(ctx, res); }
-------------- next part --------------
HTML����������������������������...
下載 



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