Commit 35245f42 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c919bfee
...@@ -278,7 +278,9 @@ func (δΒtail *ΔTail) Get(ctx context.Context, root *Tree, key Key, at zodb.Ti ...@@ -278,7 +278,9 @@ func (δΒtail *ΔTail) Get(ctx context.Context, root *Tree, key Key, at zodb.Ti
// XXX -> index lastXXXOf(key) | linear scan ↓ looking for change <= at // XXX -> index lastXXXOf(key) | linear scan ↓ looking for change <= at
δTtail := δΒtail.byRoot[root] δTtail := δΒtail.byRoot[root]
// XXX nil -> ? if δTtail == nil {
panicf("δBtail: root<%s> not tracked", root.POid())
}
for i := len(δTtail.vδT)-1; i >= 0; i-- { for i := len(δTtail.vδT)-1; i >= 0; i-- {
δT := δTtail.vδT[i] δT := δTtail.vδT[i]
......
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