aboutsummaryrefslogtreecommitdiff
path: root/meta.go
diff options
context:
space:
mode:
Diffstat (limited to 'meta.go')
-rw-r--r--meta.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta.go b/meta.go
index 5c68fa7..d4df9c4 100644
--- a/meta.go
+++ b/meta.go
@@ -8,7 +8,7 @@ type meta struct {
pageSize uint32
flags uint32
buckets pgid
- free pgid
+ freelist pgid
pgid pgid
txnid txnid
}
@@ -28,10 +28,10 @@ func (m *meta) copy(dest *meta) {
dest.magic = m.magic
dest.version = m.version
dest.pageSize = m.pageSize
+ dest.buckets = m.buckets
+ dest.freelist = m.freelist
dest.pgid = m.pgid
- dest.free = m.free
dest.txnid = m.txnid
- dest.buckets = m.buckets
}
// write writes the meta onto a page.