Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
ec74c122
Commit
ec74c122
authored
Jun 30, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d0fe680a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
wcfs/internal/xbtree/δbtail.go
wcfs/internal/xbtree/δbtail.go
+1
-1
wcfs/internal/xbtree/δbtail_test.go
wcfs/internal/xbtree/δbtail_test.go
+3
-3
No files found.
wcfs/internal/xbtree/δbtail.go
View file @
ec74c122
...
@@ -839,7 +839,7 @@ func (δBtail *ΔBtail) SliceByRootRev(root zodb.Oid, lo, hi zodb.Tid) /*readonl
...
@@ -839,7 +839,7 @@ func (δBtail *ΔBtail) SliceByRootRev(root zodb.Oid, lo, hi zodb.Tid) /*readonl
if
!
ok
{
if
!
ok
{
return
[]
ΔTree
{}
return
[]
ΔTree
{}
}
}
// XXX dup data - because they can be further rebuil
d
in parallel to caller using them
// XXX dup data - because they can be further rebuil
t
in parallel to caller using them
return
δTtail
.
vδT
// FIXME process lo, hi
return
δTtail
.
vδT
// FIXME process lo, hi
}
}
...
...
wcfs/internal/xbtree/δbtail_test.go
View file @
ec74c122
...
@@ -1277,11 +1277,11 @@ func assertΔTtail(t *testing.T, subj string, δbtail *ΔBtail, tj *tTreeCommit,
...
@@ -1277,11 +1277,11 @@ func assertΔTtail(t *testing.T, subj string, δbtail *ΔBtail, tj *tTreeCommit,
}
}
if
!
bok
{
if
!
bok
{
δbroots
:=
""
vδb_root
:=
""
for
i
:=
0
;
i
<
len
(
vatδB
);
i
++
{
for
i
:=
0
;
i
<
len
(
vatδB
);
i
++
{
δbroots
+=
fmt
.
Sprintf
(
"
\n\t
@%s"
,
xat
[
vatδB
[
i
]])
vδb_root
+=
fmt
.
Sprintf
(
"
\n\t
@%s"
,
xat
[
vatδB
[
i
]])
}
}
emsg
+=
fmt
.
Sprintf
(
"
δbroots: %s
\n
"
,
δbroots
)
emsg
+=
fmt
.
Sprintf
(
"
vδb/root: %s
\n
"
,
vδb_root
)
}
}
t
.
Error
(
emsg
)
t
.
Error
(
emsg
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment