List:Commits« Previous MessageNext Message »
From:He Zhenxing Date:April 9 2009 7:43am
Subject:bzr commit into mysql-5.0-bugteam branch (zhenxing.he:2719) Bug#37145
View as plain text  
#At file:///media/sdb2/hezx/work/mysql/bzrwork/b37145/5.0-bugteam/ based on revid:zhenxing.he@stripped

 2719 He Zhenxing	2009-04-09
      post fix compiling problem after push BUG#37145 to 5.0-bugteam

    M  client/mysqltest.c
=== modified file 'client/mysqltest.c'
--- a/client/mysqltest.c	2009-03-27 05:19:50 +0000
+++ b/client/mysqltest.c	2009-04-09 07:42:59 +0000
@@ -4087,17 +4087,16 @@ int select_connection_name(const char *n
 
 int select_connection(struct st_command *command)
 {
-  char *name;
   char *p= command->first_argument;
+  static DYNAMIC_STRING ds_connection;
+  const struct command_arg connection_args[] = {
+    { "connection_name", ARG_STRING, TRUE, &ds_connection, "Name of the connection that we switch to." }
+  };
   DBUG_ENTER("select_connection");
 
   if (!*p)
     die("Missing connection name in connect");
 
-  static DYNAMIC_STRING ds_connection;
-  const struct command_arg connection_args[] = {
-    { "connection_name", ARG_STRING, TRUE, &ds_connection, "Name of the connection that we switch to." }
-  };
   check_command_args(command, command->first_argument, connection_args,
                      sizeof(connection_args)/sizeof(struct command_arg),
                      ',');


Attachment: [text/bzr-bundle] bzr/zhenxing.he@sun.com-20090409074259-x101ovxgz75ow8xi.bundle
Thread
bzr commit into mysql-5.0-bugteam branch (zhenxing.he:2719) Bug#37145He Zhenxing9 Apr