Ben Johnson
a1f43f4d60
Allow reads of unflushed nodes.
...
This commit allows cursors to read updated values from within the
RWTransaction.
2014-03-01 09:13:59 -07:00
Ben Johnson
41fb285e37
Remove RWTransaction.Bucket().
...
Add an reference to the RWTransaction onto Transaction so that calls to
Transaction.Bucket() and Transaction.Buckets() return writable buckets
when attached to a writabe transaction.
2014-02-25 08:31:04 -07:00
Ben Johnson
a544249dd8
Refactor Bucket.
2014-02-23 08:32:53 -07:00
Ben Johnson
3b2fd8f2d3
Revert "Refactor Transaction/Bucket API."
...
This reverts commit 1ad2b99f281d587b767b36f886401e81d17915a9.
2014-02-22 22:54:54 -07:00
Ben Johnson
1ad2b99f28
Refactor Transaction/Bucket API.
2014-02-21 22:57:50 -07:00
Ben Johnson
1028d571d8
Bucket stats.
2014-02-21 09:20:45 -07:00
Tommi Virtanen
8438c6ebc3
Cursor.Get is now Cursor.Seek, and returns the first possible key.
...
This makes range and prefix queries possible.
Closes : #44
2014-02-20 11:33:28 -08:00
Ben Johnson
b22480fd32
Add Transaction.ForEach().
2014-02-16 13:59:07 -07:00
Ben Johnson
149afc8c9b
Rename errors.
2014-02-16 12:18:44 -07:00
Ben Johnson
d1952237ed
Improve test coverage.
2014-02-15 23:45:17 -07:00
Ben Johnson
7fb06feea4
Add parallel usage test and race detector.
2014-02-15 21:50:34 -07:00
Ben Johnson
8ad59edd02
API Documentation.
2014-02-13 10:58:27 -07:00
Ben Johnson
509e93dff4
Add freelist.
2014-02-10 14:04:01 -07:00
Ben Johnson
1318213f1d
Clean up.
2014-02-06 16:21:36 -07:00
Ben Johnson
0ed3dc3071
Rename sys ☞ buckets.
2014-02-05 22:15:47 -07:00
Ben Johnson
1a17a2cf1e
Add RWTransaction.Put().
2014-02-01 12:30:37 -05:00
Ben Johnson
a901cf6a25
Clean up API.
2014-01-31 12:22:58 -05:00
Ben Johnson
26f6fefead
Add RWTransaction.write().
2014-01-30 22:20:50 -05:00
Ben Johnson
149d48fb9e
Fix leaf/branch deserialization.
2014-01-30 00:11:46 -05:00
Ben Johnson
ef590ecdfb
lpage
2014-01-27 22:22:37 -05:00
Ben Johnson
192649f453
Intermediate.
2014-01-27 10:11:54 -05:00
Ben Johnson
1baa6d576a
Initialize transaction/rwtransaction.
2014-01-26 15:29:06 -07:00
Ben Johnson
73ab1d420d
TODO
2014-01-24 16:32:18 -07:00
Ben Johnson
20b26eac78
TODO
2014-01-24 12:51:56 -07:00
Ben Johnson
153372abd4
Refactoring to RWCursor, RWTxn, and branch/leaf nodes and pages.
2014-01-17 15:23:39 -07:00
Ben Johnson
cec7b942e7
Add system buckets.
2014-01-14 13:01:02 -07:00
Ben Johnson
79d9b6bb5a
Begin Transaction.Cursor().
2014-01-13 10:35:04 -07:00
Ben Johnson
746c287b26
Add mock OS.
2014-01-12 14:59:03 -07:00
Ben Johnson
ee24437bfc
Initial db.open.
2014-01-11 22:51:01 -07:00
Ben Johnson
f922c1d2bc
Move all C code into repo.
2014-01-09 09:07:10 -07:00
Ben Johnson
ebc9f0da9e
Basic types.
2014-01-08 08:06:17 -07:00