diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-27 12:08:33 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-27 12:08:33 -0600 |
commit | 93338e17eccebb077f96aabc7edc8f1c98c1b79d (patch) | |
tree | fe1fdb4aed24d100cac337e18afce207674fd65e /db.go | |
parent | Merge branch 'master' of https://github.com/boltdb/bolt (diff) | |
parent | Remove DB.Check(). Allow read-only Tx.Check(). (diff) | |
download | dedo-93338e17eccebb077f96aabc7edc8f1c98c1b79d.tar.gz dedo-93338e17eccebb077f96aabc7edc8f1c98c1b79d.tar.xz |
Merge pull request #174 from benbjohnson/remove-db-check
Remove DB.Check(). Allow read-only Tx.Check().
Diffstat (limited to 'db.go')
-rw-r--r-- | db.go | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -501,14 +501,6 @@ func (db *DB) Stats() Stats { return db.stats } -// Check performs several consistency checks on the database. -// An error is returned if any inconsistency is found. -func (db *DB) Check() error { - return db.Update(func(tx *Tx) error { - return tx.Check() - }) -} - // This is for internal access to the raw data bytes from the C cursor, use // carefully, or not at all. func (db *DB) Info() *Info { |