[Groonga-commit] groonga/groonga at e973c32 [master] Use public API

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 22 09:37:01 JST 2017


Kouhei Sutou	2017-05-22 09:37:01 +0900 (Mon, 22 May 2017)

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

  Message:
    Use public API

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+1 -1)
===================================================================
--- lib/expr.c    2017-05-22 09:36:10 +0900 (ae22bc6)
+++ lib/expr.c    2017-05-22 09:37:01 +0900 (8365332)
@@ -2451,7 +2451,7 @@ grn_expr_exec_get_member_vector(grn_ctx *ctx,
     if (range) {
       switch (range->header.type) {
       case GRN_TYPE :
-        n_elements = GRN_BULK_VSIZE(&values) / GRN_TYPE_SIZE(DB_OBJ(range));
+        n_elements = GRN_BULK_VSIZE(&values) / grn_type_size(ctx, range);
         break;
       case GRN_TABLE_HASH_KEY :
       case GRN_TABLE_PAT_KEY :
-------------- next part --------------
HTML����������������������������...
Télécharger 



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