aboutsummaryrefslogtreecommitdiff
path: root/cursor.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-03-08 19:45:56 -0800
committerBen Johnson <benbjohnson@yahoo.com>2014-03-08 19:45:56 -0800
commit4e252b8a7f3df03ff8a079de1e3d7c64f0fcde6d (patch)
tree93ac43914f9cd20c8eea13f18105e55026a7ea8d /cursor.go
parentMerge pull request #60 from benbjohnson/tx (diff)
parentConsolidate Tx and RWTx. (diff)
downloaddedo-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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cursor.go b/cursor.go
index 2907b84..244c915 100644
--- a/cursor.go
+++ b/cursor.go
@@ -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.