diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-08 19:45:56 -0800 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-08 19:45:56 -0800 |
commit | 4e252b8a7f3df03ff8a079de1e3d7c64f0fcde6d (patch) | |
tree | 93ac43914f9cd20c8eea13f18105e55026a7ea8d /cursor.go | |
parent | Merge pull request #60 from benbjohnson/tx (diff) | |
parent | Consolidate Tx and RWTx. (diff) | |
download | dedo-4e252b8a7f3df03ff8a079de1e3d7c64f0fcde6d.tar.gz dedo-4e252b8a7f3df03ff8a079de1e3d7c64f0fcde6d.tar.xz |
Merge pull request #61 from benbjohnson/merge-tx
Consolidate Tx and RWTx
Diffstat (limited to 'cursor.go')
-rw-r--r-- | cursor.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -251,7 +251,7 @@ func (c *Cursor) keyValue() ([]byte, []byte) { } // node returns the node that the cursor is currently positioned on. -func (c *Cursor) node(t *RWTx) *node { +func (c *Cursor) node(t *Tx) *node { _assert(len(c.stack) > 0, "accessing a node with a zero-length cursor stack") // If the top of the stack is a leaf node then just return it. |