Commit dfe940e4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 7d530bbc
......@@ -1030,13 +1030,11 @@ func (δBtail *ΔBtail) ForgetPast(revCut zodb.Tid) {
// trim roots
for root := range totrim {
δTtail := δBtail.byRoot[root] // must be present
δTtail.forgetPast(revCut)
δTtail._forgetPast(revCut)
}
}
func (δTtail *_ΔTtail) forgetPast(revCut zodb.Tid) {
// XXX locking
func (δTtail *_ΔTtail) _forgetPast(revCut zodb.Tid) {
icut := 0
for ; icut < len(δTtail.vδT); icut++ {
if δTtail.vδT[icut].Rev > revCut {
......
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