[Groonga-commit] groonga/groonga at 2355706 [master] Use grn_plugin_* API

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 5 00:04:04 JST 2016


Kouhei Sutou	2016-05-05 00:04:04 +0900 (Thu, 05 May 2016)

  New Revision: 235570663ffadafb12f3332aac3672aa26754dda
  https://github.com/groonga/groonga/commit/235570663ffadafb12f3332aac3672aa26754dda

  Message:
    Use grn_plugin_* API

  Modified files:
    lib/proc/proc_select.c

  Modified: lib/proc/proc_select.c (+2 -1)
===================================================================
--- lib/proc/proc_select.c    2016-05-04 23:59:07 +0900 (761b497)
+++ lib/proc/proc_select.c    2016-05-05 00:04:04 +0900 (54cf776)
@@ -1221,11 +1221,12 @@ grn_select_data_fill_drilldown_labels(grn_ctx *ctx,
                                       grn_user_data *user_data,
                                       grn_select_data *data)
 {
-  grn_obj *vars = GRN_PROC_GET_VARS();
+  grn_obj *vars;
   grn_table_cursor *cursor;
   const char *prefix = "drilldown[";
   int prefix_len;
 
+  vars = grn_plugin_proc_get_vars(ctx, user_data);
   data->drilldown_labels = grn_table_create(ctx, NULL, 0, NULL,
                                             GRN_OBJ_TABLE_HASH_KEY,
                                             grn_ctx_at(ctx, GRN_DB_SHORT_TEXT),
-------------- next part --------------
HTML����������������������������...
다운로드 



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