List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:October 1 2010 2:02pm
Subject:bzr push into mysql-5.1-mtr branch (bjorn.munch:2938 to 2939) Bug#20304
View as plain text  
 2939 Bjorn Munch	2010-10-01
      Bug #20304 mysqltest: reap with no preceding statement hangs forever
      Added sanity check, similar to the one preventing send without reap

 2938 Bjorn Munch	2010-09-30
      Bug #52828 Tests that use perl fail when perl is not in path
      Trying to run perl fails, just like it does when perl is started but fails
      Trap the case that perl was not found/could not be started, and skip test
      Also force a restart of servers since test may already have done something
      mtr now also appends path of current perl to PATH to aid mysqltest

=== modified file 'client/'
--- a/client/	2010-09-30 10:42:37 +0000
+++ b/client/	2010-10-01 09:00:18 +0000
@@ -7370,6 +7370,9 @@ void run_query(struct st_connection *cn,
   if (cn->pending && (flags & QUERY_SEND_FLAG))
     die ("Cannot run query on connection between send and reap");
+  if (!(flags & QUERY_SEND_FLAG) && !cn->pending)
+    die ("Cannot reap on a connection without pending send");
   init_dynamic_string(&ds_warnings, NULL, 0, 256);
     Evaluate query if this is an eval command

Attachment: [text/bzr-bundle] bzr/
bzr push into mysql-5.1-mtr branch (bjorn.munch:2938 to 2939) Bug#20304Bjorn Munch1 Oct