Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
25db0fb4
Commit
25db0fb4
authored
Jul 07, 2009
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix last minute warning "fix" in replay_trace.c, remove seqnum inc tracing.
parent
41391dd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
ccan/tdb/tdb.c
ccan/tdb/tdb.c
+0
-2
ccan/tdb/tools/replay_trace.c
ccan/tdb/tools/replay_trace.c
+1
-5
No files found.
ccan/tdb/tdb.c
View file @
25db0fb4
...
...
@@ -41,8 +41,6 @@ void tdb_increment_seqnum_nonblock(struct tdb_context *tdb)
return
;
}
tdb_trace
(
tdb
,
"tdb_increment_seqnum_nonblock"
);
/* we ignore errors from this, as we have no sane way of
dealing with them.
*/
...
...
ccan/tdb/tools/replay_trace.c
View file @
25db0fb4
...
...
@@ -98,7 +98,6 @@ enum op_type {
OP_TDB_CHAINUNLOCK
,
OP_TDB_CHAINLOCK_READ
,
OP_TDB_CHAINUNLOCK_READ
,
OP_TDB_INCREMENT_SEQNUM_NONBLOCK
,
OP_TDB_PARSE_RECORD
,
OP_TDB_EXISTS
,
OP_TDB_STORE
,
...
...
@@ -593,9 +592,6 @@ unsigned run_ops(struct tdb_context *tdb,
case
OP_TDB_CHAINUNLOCK_READ
:
try
(
tdb_chainunlock_read
(
tdb
,
op
[
i
].
key
),
op
[
i
].
ret
);
break
;
case
OP_TDB_INCREMENT_SEQNUM_NONBLOCK
:
tdb_increment_seqnum_nonblock
(
tdb
);
break
;
case
OP_TDB_PARSE_RECORD
:
try
(
tdb_parse_record
(
tdb
,
op
[
i
].
key
,
get_len
,
NULL
),
op
[
i
].
ret
);
...
...
@@ -932,7 +928,7 @@ int main(int argc, char *argv[])
gettimeofday
(
&
start
,
NULL
);
/* Tell them all to go! Any write of sufficient length will do. */
if
(
write
(
fds
[
1
],
hashsize
,
i
)
!=
1
)
if
(
write
(
fds
[
1
],
hashsize
,
i
)
!=
i
)
err
(
1
,
"Writing to wakeup pipe"
);
for
(
i
=
0
;
i
<
argc
-
2
;
i
++
)
{
...
...
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