summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/mysqltest.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index f5afa0fa0df..62b5df6c90d 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -221,6 +221,13 @@ 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 it's 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",