List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:October 1 2010 1:58pm
Subject:bzr commit into mysql-next-mr-mtr branch (bjorn.munch:2984)
View as plain text  
#At file:///home/bm136801/my/mtr-nx/ based on revid:bjorn.munch@stripped

 2984 Bjorn Munch	2010-10-01 [merge]
      upmerge 20304

    modified:
      client/mysqltest.cc
=== modified file 'client/mysqltest.cc'
--- a/client/mysqltest.cc	2010-09-30 11:00:49 +0000
+++ b/client/mysqltest.cc	2010-10-01 13:58:23 +0000
@@ -7431,6 +7431,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/bjorn.munch@oracle.com-20101001135823-d3irrf1afkiuucsb.bundle
Thread
bzr commit into mysql-next-mr-mtr branch (bjorn.munch:2984) Bjorn Munch1 Oct