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
49de5254
Commit
49de5254
authored
Feb 28, 2006
by
paul@snake-hub.snake.net
Browse files
Options
Browse Files
Download
Plain Diff
Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0
into snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.1
parents
c28c6aa9
7ff2ede8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
client/mysqltest.c
client/mysqltest.c
+11
-10
No files found.
client/mysqltest.c
View file @
49de5254
...
@@ -380,13 +380,6 @@ const char *command_names[]=
...
@@ -380,13 +380,6 @@ const char *command_names[]=
"connection"
,
"connection"
,
"query"
,
"query"
,
"connect"
,
"connect"
,
/* the difference between sleep and real_sleep is that sleep will use
the delay from command line (--sleep) if there is one.
real_sleep always uses delay from mysqltest's command line argument.
the logic is that sometimes delays are cpu-dependent (and --sleep
can be used to set this delay. real_sleep is used for cpu-independent
delays
*/
"sleep"
,
"sleep"
,
"real_sleep"
,
"real_sleep"
,
"inc"
,
"inc"
,
...
@@ -1781,11 +1774,19 @@ int do_disable_rpl_parse(struct st_query *query __attribute__((unused)))
...
@@ -1781,11 +1774,19 @@ int do_disable_rpl_parse(struct st_query *query __attribute__((unused)))
do_sleep()
do_sleep()
q called command
q called command
real_sleep use the value from opt_sleep as number of seconds to sleep
real_sleep use the value from opt_sleep as number of seconds to sleep
if real_sleep is false
DESCRIPTION
DESCRIPTION
sleep <seconds>
sleep <seconds>
real_sleep
real_sleep <seconds>
The difference between the sleep and real_sleep commands is that sleep
uses the delay from the --sleep command-line option if there is one.
(If the --sleep option is not given, the sleep command uses the delay
specified by its argument.) The real_sleep command always uses the
delay specified by its argument. The logic is that sometimes delays are
cpu-dependent, and --sleep can be used to set this delay. real_sleep is
used for cpu-independent delays.
*/
*/
int
do_sleep
(
struct
st_query
*
query
,
my_bool
real_sleep
)
int
do_sleep
(
struct
st_query
*
query
,
my_bool
real_sleep
)
...
@@ -4896,7 +4897,7 @@ void get_query_type(struct st_query* q)
...
@@ -4896,7 +4897,7 @@ void get_query_type(struct st_query* q)
q
->
type
=
(
enum
enum_commands
)
type
;
/* Found command */
q
->
type
=
(
enum
enum_commands
)
type
;
/* Found command */
/*
/*
If queries are disabled, only recognize
If queries are disabled, only recognize
--enable
-queries and --disable-queries
--enable
_parsing and --disable_parsing
*/
*/
if
(
parsing_disabled
&&
q
->
type
!=
Q_ENABLE_PARSING
&&
if
(
parsing_disabled
&&
q
->
type
!=
Q_ENABLE_PARSING
&&
q
->
type
!=
Q_DISABLE_PARSING
)
q
->
type
!=
Q_DISABLE_PARSING
)
...
...
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