aboutsummaryrefslogtreecommitdiff
path: root/functional_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add nested buckets.Ben Johnson2014-04-111-144/+0
| | | | | | | This commit adds the ability to create buckets inside of other buckets. It also replaces the buckets page with a root bucket. Fixes #56.
* Add performance counters.Ben Johnson2014-04-021-1/+0
| | | | | | | | | | | | This commit adds performance counters for each transaction which are rolled up to the database level on each commit/rollback. Counters are meant to be a very fast way to track what is going on in the database. A few timers are also added in areas where the time.Now() overhead is not noticible. The DB.Stat() function is now deprecated since the `bolt` CLI now performs similar functions. Fixes #108.
* Fix quickcheck test for duplicate keys.Ben Johnson2014-03-251-4/+15
|
* Make DB/Tx API more consistent.Ben Johnson2014-03-241-3/+3
| | | | | | | | | | I consolidated the DB.Tx() and DB.RWTx() calls into a single DB.Begin(writable bool) call. This is more consistent with the database/sql library. I also changed the DB.Do() and DB.With() call to DB.Update() and DB.View(), respectively. This is more intuitive and more inline with other database verbiage.
* Remove ease-of-use functions from the DB type.Ben Johnson2014-03-211-1/+3
| | | | | | | | | Functions such as DB.Put(), DB.Get(), and DB.Delete() were originally added to be easy to use, however, after implementing Bolt in multiple projects I have found these ease-of-use functions useless. Nearly every use case requires multiple calls in a single transaction. Using the DB ease of use functions turned out to be an antipattern.
* Skip long-running tests with go test -shortTommi Virtanen2014-03-131-0/+4
|
* Consolidate Tx and RWTx.Ben Johnson2014-03-081-7/+7
|
* Rename Transaction to Tx.Ben Johnson2014-03-081-3/+3
| | | | | I changed the Transaction/RWTransaction types to Tx/RWTx, respectively. This makes the naming more consistent with other packages such as database/sql. The txnid is changed to txid as well.
* Refactor Bucket.Ben Johnson2014-02-231-2/+3
|
* Revert "Refactor Transaction/Bucket API."Ben Johnson2014-02-221-5/+4
| | | | This reverts commit 1ad2b99f281d587b767b36f886401e81d17915a9.
* Refactor Transaction/Bucket API.Ben Johnson2014-02-211-4/+5
|
* Rename errors.Ben Johnson2014-02-161-1/+1
|
* Improve test coverage.Ben Johnson2014-02-151-1/+4
|
* Add parallel usage test and race detector.Ben Johnson2014-02-151-0/+124