List:Commits« Previous MessageNext Message »
From:Magnus Svensson Date:March 13 2009 3:06pm
Subject:bzr commit into mysql-5.1 branch (msvensson:2757) Bug#43361
View as plain text  
#At file:///home/msvensson/mysql/5.1-bug43361/ based on revid:msvensson@stripped

 2757 Magnus Svensson	2009-03-13
      Bug#43361 msyql_client_test output lost
       - Print the output(if any) from the command that failed, in many 
         cases this will make it possible to immediately see what went wrong.
      modified:
        client/mysqltest.cc

=== modified file 'client/mysqltest.cc'
--- a/client/mysqltest.cc	2009-02-07 15:29:37 +0000
+++ b/client/mysqltest.cc	2009-03-13 15:06:50 +0000
@@ -2653,7 +2653,8 @@ void do_exec(struct st_command *command)
       log_msg("exec of '%s' failed, error: %d, status: %d, errno: %d",
               ds_cmd.str, error, status, errno);
       dynstr_free(&ds_cmd);
-      die("command \"%s\" failed", command->first_argument);
+      die("command \"%s\" failed\n\nOutput from before failure:\n%s\n",
+          command->first_argument, ds_res.str);
     }
 
     DBUG_PRINT("info",

Thread
bzr commit into mysql-5.1 branch (msvensson:2757) Bug#43361Magnus Svensson13 Mar