diff options
author | unknown <paul@snake-hub.snake.net> | 2006-02-28 14:01:16 -0600 |
---|---|---|
committer | unknown <paul@snake-hub.snake.net> | 2006-02-28 14:01:16 -0600 |
commit | df0cab0b69214c978a7a0c8e8e2cb581cdd8f833 (patch) | |
tree | 3d21b7cd5598741533501a362984c8028e34b602 | |
parent | 773c1e049ac90f28e25a721ca85da588f4ad0560 (diff) | |
parent | 9099fb2d063b537f7a8c94d18dbe163d4945f955 (diff) | |
download | mariadb-git-df0cab0b69214c978a7a0c8e8e2cb581cdd8f833.tar.gz |
Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-4.1
into snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0
client/mysqltest.c:
Auto merged
-rw-r--r-- | client/mysqltest.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 0ee8486a31d..3493a781875 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -345,13 +345,6 @@ const char *command_names[]= "connection", "query", "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", "real_sleep", "inc", @@ -1633,11 +1626,19 @@ int do_disable_rpl_parse(struct st_query *query __attribute__((unused))) do_sleep() q called command real_sleep use the value from opt_sleep as number of seconds to sleep + if real_sleep is false DESCRIPTION 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) |