[Groonga-commit] groonga/groonga [master] Fixed a bug grn_pat_cursor_open_by_id().

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2010年 10月 4日 (月) 16:08:49 JST


Daijiro MORI	2010-10-04 07:08:49 +0000 (Mon, 04 Oct 2010)

  New Revision: 62357190ea792d96464d907eac453aa1a18b0cf2

  Log:
    Fixed a bug grn_pat_cursor_open_by_id().

  Modified files:
    lib/pat.c

  Modified: lib/pat.c (+1 -1)
===================================================================
--- lib/pat.c    2010-10-04 07:03:24 +0000 (840a6c7)
+++ lib/pat.c    2010-10-04 07:08:49 +0000 (5b9155a)
@@ -2002,7 +2002,7 @@ grn_pat_cursor_open_by_id(grn_ctx *ctx, grn_pat *pat,
       uint32_t key_size;
       const void *key = _grn_pat_key(ctx, pat, c->curr_rec, &key_size);
       c->curr_rec += dir;
-      if (grn_pat_get(ctx, pat, key, key_size, NULL) == c->curr_rec) {
+      if (_grn_pat_get(ctx, pat, key, key_size, NULL) == c->curr_rec) {
         offset--;
       }
     }




Groonga-commit メーリングリストの案内
アーカイブの一覧に戻る