mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 08:10:50 +00:00
fix bug in pgno computation in freePageSet
This commit is contained in:
parent
bd060b6fd2
commit
96abbfa059
1 changed files with 1 additions and 1 deletions
|
|
@ -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{}{}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue