aboutsummaryrefslogtreecommitdiff
path: root/cursor.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-01-10 07:32:12 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-01-10 07:32:12 -0700
commitdf8333328fc7808ad37f7276a115bfd8a00c3780 (patch)
treec0a8d5597c90023a3f4ccc9a29116624a6276896 /cursor.go
parentMove all C code into repo. (diff)
downloaddedo-df8333328fc7808ad37f7276a115bfd8a00c3780.tar.gz
dedo-df8333328fc7808ad37f7276a115bfd8a00c3780.tar.xz
DB.Open(), pages, and meta.
Diffstat (limited to 'cursor.go')
-rw-r--r--cursor.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cursor.go b/cursor.go
index 2bf8318..9faf5bc 100644
--- a/cursor.go
+++ b/cursor.go
@@ -46,6 +46,13 @@ type cursor struct {
ki []int /**< stack of page indices */
}
+type xcursor struct {
+ cursor cursor
+ bucket *bucket
+ bucketx *bucketx
+ bucketFlag int
+}
+
// Set or clear P_KEEP in dirty, non-overflow, non-sub pages watched by txn.
// @param[in] mc A cursor handle for the current operation.
// @param[in] pflags Flags of the pages to update: