diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-15 21:50:34 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-15 21:50:34 -0700 |
commit | 7fb06feea4012543b6a1b0726a09e9a4c4a84933 (patch) | |
tree | 057b2bf9d7487343f477f62726919421dc66b6b6 /rwtransaction.go | |
parent | Merge pull request #32 from benbjohnson/blocks (diff) | |
download | dedo-7fb06feea4012543b6a1b0726a09e9a4c4a84933.tar.gz dedo-7fb06feea4012543b6a1b0726a09e9a4c4a84933.tar.xz |
Add parallel usage test and race detector.
Diffstat (limited to 'rwtransaction.go')
-rw-r--r-- | rwtransaction.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rwtransaction.go b/rwtransaction.go index 568960a..afb55c8 100644 --- a/rwtransaction.go +++ b/rwtransaction.go @@ -20,9 +20,7 @@ func (t *RWTransaction) init(db *DB) { t.Transaction.init(db) t.pages = make(map[pgid]*page) - // Copy the meta and increase the transaction id. - t.meta = &meta{} - db.meta().copy(t.meta) + // Increment the transaction id. t.meta.txnid += txnid(1) } |