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
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
nexedi
MariaDB
Commits
32e68098
Commit
32e68098
authored
Jan 20, 2006
by
SergeyV@selena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post review updates for win32 port of mysqlslap
parent
94b26428
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
client/mysqlslap.c
client/mysqlslap.c
+5
-5
No files found.
client/mysqlslap.c
View file @
32e68098
...
...
@@ -98,9 +98,6 @@
#define srandom srand
#define random rand
#define snprintf _snprintf
#define USE_THREADS_DEFAULT TRUE
#else
#define USE_THREADS_DEFAULT FALSE
#endif
#ifdef HAVE_SMEM
...
...
@@ -248,7 +245,10 @@ int main(int argc, char **argv)
unsigned
long
long
client_limit
;
statement
*
eptr
;
//DBUG_ENTER("main");
#ifdef __WIN__
opt_use_threads
=
1
;
#endif
MY_INIT
(
argv
[
0
]);
/* Seed the random number generator if we will be using it. */
...
...
@@ -478,7 +478,7 @@ static struct my_option my_long_options[] =
{
"use-threads"
,
OPT_USE_THREADS
,
"Use pthread calls instead of fork() calls (default on Windows)"
,
(
gptr
*
)
&
opt_use_threads
,
(
gptr
*
)
&
opt_use_threads
,
0
,
GET_NO_ARG
,
NO_ARG
,
USE_THREADS_DEFAULT
,
0
,
0
,
0
,
0
,
0
},
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
#include <sslopt-longopts.h>
#ifndef DONT_ALLOW_USER_CHANGE
{
"user"
,
'u'
,
"User for login if not current user."
,
(
gptr
*
)
&
user
,
...
...
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