Commit 640e833d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 64862e3e
......@@ -399,7 +399,7 @@ func (db *DB) open(at Tid, noPool bool) *Connection {
δtail := db.δtail
fmt.Printf("db.open @%s nopool=%v\t; δtail (%s, %s]\n", at, noPool, δtail.Tail(), δtail.Head())
//fmt.Printf("db.open @%s nopool=%v\t; δtail (%s, %s]\n", at, noPool, δtail.Tail(), δtail.Head())
// at should be ≤ head (caller waited for it before invoking us)
if head := δtail.Head(); at > head {
......
......@@ -615,13 +615,6 @@ func testPersistentDB(t0 *testing.T, rawcache bool) {
// obj2 should be invalidated
t.checkObj(robj1, 101, InvalidTid, GHOST, 0)
t.checkObj(robj2, 102, InvalidTid, GHOST, 0)
// XXX DB.Open with at on and +-1 δtail edges XXX don't be lazy and do this
// XXX Get(txn = different) -> panic
}
// TODO Map & List tests.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment