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

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

    modified:
      client/mysqltest.cc
=== modified file 'client/mysqltest.cc'
--- a/client/mysqltest.cc	2010-09-30 10:55:39 +0000
+++ b/client/mysqltest.cc	2010-10-01 13:56:59 +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-20101001135659-tnan4xjqkx32qaeb.bundle
Thread
bzr commit into mysql-trunk-mtr branch (bjorn.munch:2974) Bjorn Munch1 Oct