List:Commits« Previous MessageNext Message »
From:msvensson Date:October 7 2006 7:47pm
Subject:bk commit into 4.1 tree (msvensson:1.2567)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of msvensson. When msvensson 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@stripped, 2006-10-07 19:47:42+02:00, msvensson@neptunus.(none) +1 -0
  Add comment and remove strange assignment in 'do_exec'

  client/mysqltest.c@stripped, 2006-10-07 19:47:41+02:00, msvensson@neptunus.(none) +1 -1
    Add comment and remove strange assignment in 'do_exec'

# 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:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-4.1-maint

--- 1.206/client/mysqltest.c	2006-10-07 19:47:45 +02:00
+++ 1.207/client/mysqltest.c	2006-10-07 19:47:45 +02:00
@@ -1498,6 +1498,7 @@
   DBUG_ENTER("do_exec");
   DBUG_PRINT("enter", ("cmd: '%s'", cmd));
 
+  /* Skip leading space */
   while (*cmd && my_isspace(charset_info, *cmd))
     cmd++;
   if (!*cmd)
@@ -1507,7 +1508,6 @@
   init_dynamic_string(&ds_cmd, 0, command->query_len+256, 256);
   /* Eval the command, thus replacing all environment variables */
   do_eval(&ds_cmd, cmd, command->end, TRUE);
-  cmd= ds_cmd.str;
 
   DBUG_PRINT("info", ("Executing '%s' as '%s'",
                       command->first_argument, cmd));
Thread
bk commit into 4.1 tree (msvensson:1.2567)msvensson7 Oct