Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
c0502d41
Commit
c0502d41
authored
Feb 16, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9206bfb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
go/neo/storage/sqlite/sqlite.go
go/neo/storage/sqlite/sqlite.go
+3
-1
No files found.
go/neo/storage/sqlite/sqlite.go
View file @
c0502d41
...
@@ -325,7 +325,7 @@ func openURL(ctx context.Context, u *url.URL) (_ storage.Backend, err error) {
...
@@ -325,7 +325,7 @@ func openURL(ctx context.Context, u *url.URL) (_ storage.Backend, err error) {
case
nil
:
case
nil
:
value
:=
reflect
.
ValueOf
(
pvalue
)
.
Elem
()
.
Interface
()
value
:=
reflect
.
ValueOf
(
pvalue
)
.
Elem
()
.
Interface
()
if
value
!=
expect
{
if
value
!=
expect
{
err
=
fmt
.
Errorf
(
"got %
s; want %s
"
,
value
,
expect
)
err
=
fmt
.
Errorf
(
"got %
v; want %v
"
,
value
,
expect
)
}
}
}
}
...
@@ -370,6 +370,8 @@ func openURL(ctx context.Context, u *url.URL) (_ storage.Backend, err error) {
...
@@ -370,6 +370,8 @@ func openURL(ctx context.Context, u *url.URL) (_ storage.Backend, err error) {
return
nil
,
fmt
.
Errorf
(
"NEO/go POC: not ready to handle: !empty ttrans/tobj"
)
return
nil
,
fmt
.
Errorf
(
"NEO/go POC: not ready to handle: !empty ttrans/tobj"
)
}
}
// TODO lock db by path so other process cannot start working with it
return
b
,
nil
return
b
,
nil
}
}
...
...
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