diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-21 23:09:24 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-21 23:09:24 -0700 |
commit | 7f2fe0e1ed43f121c90cbc8ef7fb9304d15cb868 (patch) | |
tree | 7b46bfc96689af14938a9f93aab732e3e46ee709 /cursor.go | |
parent | Merge pull request #49 from benbjohnson/stat (diff) | |
parent | Refactor Transaction/Bucket API. (diff) | |
download | dedo-7f2fe0e1ed43f121c90cbc8ef7fb9304d15cb868.tar.gz dedo-7f2fe0e1ed43f121c90cbc8ef7fb9304d15cb868.tar.xz |
Merge pull request #50 from benbjohnson/api
Refactor Transaction/Bucket API
Diffstat (limited to 'cursor.go')
-rw-r--r-- | cursor.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -201,7 +201,7 @@ func (c *Cursor) keyValue() ([]byte, []byte) { } // node returns the node that the cursor is currently positioned on. -func (c *Cursor) node(t *RWTransaction) *node { +func (c *Cursor) node(t *Transaction) *node { _assert(len(c.stack) > 0, "accessing a node with a zero-length cursor stack") // Start from root and traverse down the hierarchy. |