From a8e257e1f1aaf4c8c9019dcf4ac41bea98a41fff Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 28 Aug 2023 22:02:48 -0700 Subject: [PATCH] Added comments [skip ci] --- src/hnswscan.c | 1 + src/ivfscan.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/hnswscan.c b/src/hnswscan.c index dba3ca9..742779a 100644 --- a/src/hnswscan.c +++ b/src/hnswscan.c @@ -185,6 +185,7 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir) scan->xs_ctup.t_self = *tid; #endif + /* Unpin buffer */ if (BufferIsValid(so->buf)) ReleaseBuffer(so->buf); diff --git a/src/ivfscan.c b/src/ivfscan.c index 6703120..340b519 100644 --- a/src/ivfscan.c +++ b/src/ivfscan.c @@ -343,6 +343,7 @@ ivfflatgettuple(IndexScanDesc scan, ScanDirection dir) scan->xs_ctup.t_self = *tid; #endif + /* Unpin buffer */ if (BufferIsValid(so->buf)) ReleaseBuffer(so->buf);