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
29efaaee
Commit
29efaaee
authored
Jul 17, 2009
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Completely unhobble tdbtorture.
parent
699a8dde
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
ccan/tdb/tools/tdbtorture.c
ccan/tdb/tools/tdbtorture.c
+0
-4
No files found.
ccan/tdb/tools/tdbtorture.c
View file @
29efaaee
...
...
@@ -22,9 +22,7 @@
#define APPEND_PROB 6
#define TRANSACTION_PROB 10
#define TRANSACTION_PREPARE_PROB 2
#if 0
#define LOCKSTORE_PROB 5
#endif
#define TRAVERSE_PROB 20
#define TRAVERSE_READ_PROB 20
#define TRAVERSE_MOD_PROB 100
...
...
@@ -145,7 +143,6 @@ static void addrec_db(void)
goto
next
;
}
#if 0
if
(
in_traverse
==
0
&&
in_transaction
&&
random
()
%
TRANSACTION_PROB
==
0
)
{
if
(
tdb_transaction_cancel
(
db
)
!=
0
)
{
fatal
(
"tdb_transaction_cancel failed"
);
...
...
@@ -154,7 +151,6 @@ static void addrec_db(void)
goto
next
;
}
#endif
#endif
#if REOPEN_PROB
if
(
in_traverse
==
0
&&
in_transaction
==
0
&&
random
()
%
REOPEN_PROB
==
0
)
{
...
...
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