Commit 6d7c2bcc authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6cb712f0
......@@ -1390,7 +1390,7 @@ func (δBtail *ΔBtail) Get(ctx context.Context, root *Tree, key Key, at zodb.Ti
}
// key not in history tail.
// either use @tail[key], if it is present, or @head[key] FIXME tail[key] must be present
// either use @tail[key], if it is present, or @head[key]
rev = δBtail.Tail()
revExact = false
value, ok = δTtail.KVAtTail[key]
......@@ -1398,7 +1398,6 @@ func (δBtail *ΔBtail) Get(ctx context.Context, root *Tree, key Key, at zodb.Ti
return
}
// FIXME this should go away (tail[key] must be present)
// @tail[key] is not present - key was not changing in (tail, head].
// since at ∈ (tail, head] we can use @head[key] as the result
xvalue, ok, err := root.Get(ctx, key)
......
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