List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:March 18 2011 11:15am
Subject:bzr commit into mysql-5.1-mtr branch (bjorn.munch:2988) Bug#11885854
View as plain text  
#At file:///home/bm136801/my/cpps-51/ based on revid:bjorn.munch@stripped

 2988 Bjorn Munch	2011-03-18
      Bug #11885854 MYSQLTEST: PS-PROTOCOL IMPLIED BY CURSOR-PROTOCOL LOST AFTER ENABLE_PS_PROTOCOL 
      The condition cursor-protocol => ps-protocol was done at "current setting" level"
      Moved it to "set by command line" level

    modified:
      client/mysqltest.cc
=== modified file 'client/mysqltest.cc'
--- a/client/mysqltest.cc	2011-01-26 15:34:34 +0000
+++ b/client/mysqltest.cc	2011-03-18 11:13:54 +0000
@@ -8032,13 +8032,15 @@ int main(int argc, char **argv)
     cur_file->lineno= 1;
   }
   init_re();
+
+  /* Cursor protcol implies ps protocol */
+  if (cursor_protocol)
+    ps_protocol= 1;
+
   ps_protocol_enabled= ps_protocol;
   sp_protocol_enabled= sp_protocol;
   view_protocol_enabled= view_protocol;
   cursor_protocol_enabled= cursor_protocol;
-  /* Cursor protcol implies ps protocol */
-  if (cursor_protocol_enabled)
-    ps_protocol_enabled= 1;
 
   st_connection *con= connections;
   if (!( mysql_init(&con->mysql)))


Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20110318111354-cq010y13rs4it0i6.bundle
Thread
bzr commit into mysql-5.1-mtr branch (bjorn.munch:2988) Bug#11885854Bjorn Munch18 Mar
  • Re: bzr commit into mysql-5.1-mtr branch (bjorn.munch:2988) Bug#11885854Magnus BlĂ„udd18 Mar