diff --git a/src/hnswscan.c b/src/hnswscan.c index e46c657..eaf0519 100644 --- a/src/hnswscan.c +++ b/src/hnswscan.c @@ -202,6 +202,7 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir) MemoryContextSwitchTo(oldCtx); scan->xs_heaptid = *heaptid; + scan->xs_recheck = false; scan->xs_recheckorderby = false; return true; } diff --git a/src/ivfscan.c b/src/ivfscan.c index 5e69c39..9b0e03e 100644 --- a/src/ivfscan.c +++ b/src/ivfscan.c @@ -310,6 +310,7 @@ ivfflatgettuple(IndexScanDesc scan, ScanDirection dir) ItemPointer heaptid = (ItemPointer) DatumGetPointer(slot_getattr(so->slot, 2, &so->isnull)); scan->xs_heaptid = *heaptid; + scan->xs_recheck = false; scan->xs_recheckorderby = false; return true; }