aboutsummaryrefslogtreecommitdiff
path: root/bolt_unix_solaris.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2016-02-19 09:18:07 -0700
committerBen Johnson <benbjohnson@yahoo.com>2016-03-10 12:17:43 -0700
commit522043366c6e60fc92776c09658a20b7e22ac120 (patch)
tree833d3f129ba119f8e67307c6313cb6579b441823 /bolt_unix_solaris.go
parentMerge pull request #531 from michelmno/master (diff)
downloaddedo-522043366c6e60fc92776c09658a20b7e22ac120.tar.gz
dedo-522043366c6e60fc92776c09658a20b7e22ac120.tar.xz
use tx.meta during Tx.WriteTo()
This commit changes `Tx.WriteTo()` to use the transaction's in-memory meta page instead of copying from the disk. This is needed because the transaction uses the size from its meta page but writes the current meta page on disk which may have allocated additional pages since the transaction started. Fixes #513
Diffstat (limited to 'bolt_unix_solaris.go')
0 files changed, 0 insertions, 0 deletions