[Groonga-commit] groonga/groonga at b61b11b [master] Ensure initializing grn_scan_info::op

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Jun 23 22:01:56 JST 2018


Kouhei Sutou	2018-06-23 22:01:56 +0900 (Sat, 23 Jun 2018)

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

  Message:
    Ensure initializing grn_scan_info::op

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+1 -0)
===================================================================
--- lib/expr.c    2018-06-23 21:33:31 +0900 (671b88dd4)
+++ lib/expr.c    2018-06-23 22:01:56 +0900 (72a2f0120)
@@ -1645,6 +1645,7 @@ struct _grn_scan_info {
   if (((si) = GRN_MALLOCN(scan_info, 1))) {\
     GRN_INT32_INIT(&(si)->wv, GRN_OBJ_VECTOR);\
     GRN_PTR_INIT(&(si)->index, GRN_OBJ_VECTOR, GRN_ID_NIL);\
+    (si)->op = GRN_OP_NOP;\
     (si)->logical_op = GRN_OP_OR;\
     (si)->flags = SCAN_PUSH;\
     (si)->nargs = 0;\
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180623/ca6c2697/attachment.htm 



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