diff options
Diffstat (limited to 'meta.go')
-rw-r--r-- | meta.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ type meta struct { buckets pgid freelist pgid pgid pgid - txnid txnid + txid txid } // validate checks the marker bytes and version of the meta page to ensure it matches this binary. @@ -31,13 +31,13 @@ func (m *meta) copy(dest *meta) { dest.buckets = m.buckets dest.freelist = m.freelist dest.pgid = m.pgid - dest.txnid = m.txnid + dest.txid = m.txid } // write writes the meta onto a page. func (m *meta) write(p *page) { // Page id is either going to be 0 or 1 which we can determine by the Txn ID. - p.id = pgid(m.txnid % 2) + p.id = pgid(m.txid % 2) p.flags |= metaPageFlag m.copy(p.meta()) |