[Groonga-commit] groonga/groonga at 257a695 [master] ii cursor: stop to update chunk when chunk is already done

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 30 13:43:11 JST 2017


Kouhei Sutou	2017-01-30 13:43:11 +0900 (Mon, 30 Jan 2017)

  New Revision: 257a6954fb660953570e6b287694e018c48c950e
  https://github.com/groonga/groonga/commit/257a6954fb660953570e6b287694e018c48c950e

  Message:
    ii cursor: stop to update chunk when chunk is already done

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+1 -0)
===================================================================
--- lib/ii.c    2017-01-29 23:29:17 +0900 (2c84d60)
+++ lib/ii.c    2017-01-30 13:43:11 +0900 (ffb890d)
@@ -5033,6 +5033,7 @@ grn_ii_cursor_set_min(grn_ctx *ctx, grn_ii_cursor *c, grn_id min)
     grn_id old_min = c->min;
     c->min = min;
     if (c->buf &&
+        c->pc.rid != GRN_ID_NIL &&
         c->pc.rid < c->min &&
         c->prev_chunk_rid < c->min &&
         c->curr_chunk < c->nchunks) {
-------------- next part --------------
HTML����������������������������...
Download 



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