Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
e0b002f5
Commit
e0b002f5
authored
Mar 12, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9bc6b2e8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
go/zodb/connection.go
go/zodb/connection.go
+1
-1
go/zodb/persistent_test.go
go/zodb/persistent_test.go
+1
-0
No files found.
go/zodb/connection.go
View file @
e0b002f5
...
...
@@ -222,7 +222,7 @@ func (cache *LiveCache) Get(oid Oid) IPersistent {
}
// 2. lookup in !pinned referenced object (they are likely to be loaded
// going from a refer
ee
)
// going from a refer
rer
)
wobj
:=
cache
.
objtab
[
oid
]
if
wobj
!=
nil
{
if
xobj
:=
wobj
.
Get
();
xobj
!=
nil
{
...
...
go/zodb/persistent_test.go
View file @
e0b002f5
...
...
@@ -607,6 +607,7 @@ func testPersistentDB(t0 *testing.T, rawcache bool) {
t
.
checkObj
(
obj1
,
101
,
InvalidTid
,
GHOST
,
0
)
t
.
checkObj
(
obj2
,
102
,
at2
,
UPTODATE
,
0
,
"kitty"
)
// finish tnx3 and txn2 - conn1 and conn2 go back to db pool
t
.
Abort
()
t2
.
Abort
()
...
...
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