Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8527aa5a
Commit
8527aa5a
authored
Jan 23, 2014
by
John Esmet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix an off by 1 bug
parent
fbc1f593
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/tests/test_stress5.cc
src/tests/test_stress5.cc
+1
-1
No files found.
src/tests/test_stress5.cc
View file @
8527aa5a
...
@@ -108,7 +108,7 @@ stress_table(DB_ENV *env, DB **dbp, struct cli_args *cli_args) {
...
@@ -108,7 +108,7 @@ stress_table(DB_ENV *env, DB **dbp, struct cli_args *cli_args) {
//
//
if
(
verbose
)
printf
(
"starting creation of pthreads
\n
"
);
if
(
verbose
)
printf
(
"starting creation of pthreads
\n
"
);
const
int
num_threads
=
4
+
cli_args
->
num_update_threads
+
cli_args
->
num_ptquery_threads
;
const
int
num_threads
=
5
+
cli_args
->
num_update_threads
+
cli_args
->
num_ptquery_threads
;
struct
arg
myargs
[
num_threads
];
struct
arg
myargs
[
num_threads
];
for
(
int
i
=
0
;
i
<
num_threads
;
i
++
)
{
for
(
int
i
=
0
;
i
<
num_threads
;
i
++
)
{
arg_init
(
&
myargs
[
i
],
dbp
,
env
,
cli_args
);
arg_init
(
&
myargs
[
i
],
dbp
,
env
,
cli_args
);
...
...
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