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
9b3bf80e
Commit
9b3bf80e
authored
Mar 15, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
102afd99
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
t/neo/zodb/cmd/zodbdump/zodbdump.go
t/neo/zodb/cmd/zodbdump/zodbdump.go
+2
-1
No files found.
t/neo/zodb/cmd/zodbdump/zodbdump.go
View file @
9b3bf80e
...
@@ -72,6 +72,8 @@ func (d *dumper) DumpData(datai *zodb.StorageRecordInformation) error {
...
@@ -72,6 +72,8 @@ func (d *dumper) DumpData(datai *zodb.StorageRecordInformation) error {
}
}
entry
+=
"
\n
"
entry
+=
"
\n
"
// TODO use writev(data, "\n") via net.Buffers (it is already available)
_
,
err
:=
d
.
W
.
Write
(
mem
.
Bytes
(
entry
))
_
,
err
:=
d
.
W
.
Write
(
mem
.
Bytes
(
entry
))
if
err
!=
nil
{
if
err
!=
nil
{
goto
out
goto
out
...
@@ -83,7 +85,6 @@ func (d *dumper) DumpData(datai *zodb.StorageRecordInformation) error {
...
@@ -83,7 +85,6 @@ func (d *dumper) DumpData(datai *zodb.StorageRecordInformation) error {
goto
out
goto
out
}
}
// TODO use writev(data, "\n") when it is available
_
,
err
=
d
.
W
.
Write
([]
byte
(
"
\n
"
))
_
,
err
=
d
.
W
.
Write
([]
byte
(
"
\n
"
))
if
err
!=
nil
{
if
err
!=
nil
{
goto
out
goto
out
...
...
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