From 96abbfa0590751007a4355731365063f34e67681 Mon Sep 17 00:00:00 2001 From: "Jason E. Aten" Date: Tue, 8 Dec 2020 20:45:54 +0000 Subject: [PATCH] fix bug in pgno computation in freePageSet --- rbf/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbf/tx.go b/rbf/tx.go index c78c86190..31a6914d5 100644 --- a/rbf/tx.go +++ b/rbf/tx.go @@ -787,7 +787,7 @@ func (tx *Tx) freePageSet() (map[uint32]struct{}, error) { cell := readLeafCell(leafPage, elem.index) for _, v := range cell.Values(tx) { - pgno := uint32((cell.Key << 16) & uint64(v)) + pgno := uint32((cell.Key << 16) | uint64(v)) m[pgno] = struct{}{} } }