List:Commits« Previous MessageNext Message »
From:paul Date:March 3 2006 8:57pm
Subject:bk commit into 4.1 tree (paul:1.2483)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of paul. When paul does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2483 06/03/03 13:57:49 paul@stripped +1 -0
  mysqltest.c:
    Better fix for do_sleep().

  client/mysqltest.c
    1.194 06/03/03 13:57:16 paul@stripped +5 -4
    Better fix for do_sleep().

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	paul
# Host:	snake-hub.snake.net
# Root:	/src/extern/MySQL/bk/mysql-4.1-clone

--- 1.193/client/mysqltest.c	2006-02-28 14:36:39 -06:00
+++ 1.194/client/mysqltest.c	2006-03-03 13:57:16 -06:00
@@ -1550,19 +1550,20 @@
   char *p= query->first_argument;
   char *sleep_start, *sleep_end= query->end;
   double sleep_val;
-  char *cmd = (real_sleep ? "real_sleep" : "sleep");
 
   while (my_isspace(charset_info, *p))
     p++;
   if (!*p)
-    die("Missing argument to %s", cmd);
+    die("Missing argument to %.*s", query->first_word_len, query->query);
   sleep_start= p;
   /* Check that arg starts with a digit, not handled by my_strtod */
   if (!my_isdigit(charset_info, *sleep_start))
-    die("Invalid argument to %s \"%s\"", cmd, query->first_argument);
+    die("Invalid argument to %.*s \"%s\"", query->first_word_len, query->query,
+		query->first_argument);
   sleep_val= my_strtod(sleep_start, &sleep_end, &error);
   if (error)
-    die("Invalid argument to %s \"%s\"", cmd, query->first_argument);
+    die("Invalid argument to %.*s \"%s\"", query->first_word_len, query->query,
+		query->first_argument);
 
   /* Fixed sleep time selected by --sleep option */
   if (opt_sleep && !real_sleep)
Thread
bk commit into 4.1 tree (paul:1.2483)paul3 Mar