diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-02 13:59:23 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-03 16:21:28 -0600 |
commit | 25fea2fd9f78434299036fe3a23c65dc9613f0bb (patch) | |
tree | 2b153687714f327438ef7a835097c7906561eea5 /cursor.go | |
parent | Merge pull request #147 from benbjohnson/stats (diff) | |
download | dedo-25fea2fd9f78434299036fe3a23c65dc9613f0bb.tar.gz dedo-25fea2fd9f78434299036fe3a23c65dc9613f0bb.tar.xz |
Refactor split/spill.
Diffstat (limited to 'cursor.go')
-rw-r--r-- | cursor.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -192,7 +192,7 @@ func (c *Cursor) last() { func (c *Cursor) search(key []byte, pgid pgid) { p, n := c.bucket.pageNode(pgid) if p != nil { - _assert((p.flags&(branchPageFlag|leafPageFlag)) != 0, "invalid page type: "+p.typ()) + _assert((p.flags&(branchPageFlag|leafPageFlag)) != 0, "invalid page type: %d: %s", p.id, p.typ()) } e := elemRef{page: p, node: n} c.stack = append(c.stack, e) |