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
480bfa22
Commit
480bfa22
authored
May 01, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-5.0-18312
into mysql.com:/home/jimw/my/mysql-5.0-clean
parents
9111e057
ad32ab87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
client/mysqltest.c
client/mysqltest.c
+5
-4
No files found.
client/mysqltest.c
View file @
480bfa22
...
@@ -153,7 +153,7 @@ static uint global_expected_errors;
...
@@ -153,7 +153,7 @@ static uint global_expected_errors;
/* ************************************************************************ */
/* ************************************************************************ */
static
int
record
=
0
,
opt_sleep
=
0
;
static
int
record
=
0
,
opt_sleep
=
-
1
;
static
char
*
db
=
0
,
*
pass
=
0
;
static
char
*
db
=
0
,
*
pass
=
0
;
const
char
*
user
=
0
,
*
host
=
0
,
*
unix_sock
=
0
,
*
opt_basedir
=
"./"
;
const
char
*
user
=
0
,
*
host
=
0
,
*
unix_sock
=
0
,
*
opt_basedir
=
"./"
;
static
int
port
=
0
;
static
int
port
=
0
;
...
@@ -1724,11 +1724,12 @@ int do_sleep(struct st_query *query, my_bool real_sleep)
...
@@ -1724,11 +1724,12 @@ int do_sleep(struct st_query *query, my_bool real_sleep)
query
->
first_argument
);
query
->
first_argument
);
/* Fixed sleep time selected by --sleep option */
/* Fixed sleep time selected by --sleep option */
if
(
opt_sleep
&&
!
real_sleep
)
if
(
opt_sleep
>=
0
&&
!
real_sleep
)
sleep_val
=
opt_sleep
;
sleep_val
=
opt_sleep
;
DBUG_PRINT
(
"info"
,
(
"sleep_val: %f"
,
sleep_val
));
DBUG_PRINT
(
"info"
,
(
"sleep_val: %f"
,
sleep_val
));
my_sleep
((
ulong
)
(
sleep_val
*
1000000L
));
if
(
sleep_val
)
my_sleep
((
ulong
)
(
sleep_val
*
1000000L
));
query
->
last_argument
=
sleep_end
;
query
->
last_argument
=
sleep_end
;
return
0
;
return
0
;
}
}
...
@@ -2935,7 +2936,7 @@ static struct my_option my_long_options[] =
...
@@ -2935,7 +2936,7 @@ static struct my_option my_long_options[] =
"Don't use the memory allocation checking."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
"Don't use the memory allocation checking."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
,
0
,
0
,
0
},
{
"sleep"
,
'T'
,
"Sleep always this many seconds on sleep commands."
,
{
"sleep"
,
'T'
,
"Sleep always this many seconds on sleep commands."
,
(
gptr
*
)
&
opt_sleep
,
(
gptr
*
)
&
opt_sleep
,
0
,
GET_INT
,
REQUIRED_ARG
,
0
,
0
,
0
,
(
gptr
*
)
&
opt_sleep
,
(
gptr
*
)
&
opt_sleep
,
0
,
GET_INT
,
REQUIRED_ARG
,
-
1
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
},
{
"socket"
,
'S'
,
"Socket file to use for connection."
,
{
"socket"
,
'S'
,
"Socket file to use for connection."
,
(
gptr
*
)
&
unix_sock
,
(
gptr
*
)
&
unix_sock
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
(
gptr
*
)
&
unix_sock
,
(
gptr
*
)
&
unix_sock
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
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