List:Commits« Previous MessageNext Message »
From:Reggie Burnett Date:June 25 2010 9:35pm
Subject:bzr commit into connector-net-6.0 branch (reggie.burnett:820) Bug#47153
View as plain text  
#At file:///C:/work/bzr-connector-net/6.0/ based on revid:reggie.burnett@stripped

  820 Reggie Burnett	2010-06-25
      - applied patch from 5.x series that reset the connection to the base encoding when doing a 
        connection reset (bug #47153)

    modified:
      CHANGES
      MySql.Data/Provider/Source/NativeDriver.cs
      MySql.Data/Tests/Source/PoolingTests.cs
=== modified file 'CHANGES'
=== modified file 'CHANGES'
--- a/CHANGES	2010-06-25 17:38:59 +0000
+++ b/CHANGES	2010-06-25 21:35:03 +0000
@@ -6,6 +6,8 @@
   is not necessarily 1317 (QueryInterrupted). It might as well be 1028 (FileSortAborted).
   Fix timeout handling to handle both error codes in the same fashion (bug #53357)
 - added public MySqlHelper.ExecuteDataReader method that takes an external connection (bug #54570)
+- applied patch from 5.x series that reset the connection to the base encoding when doing a 
+  connection reset (bug #47153)
 
 Version 6.0.6
 - When sending file to server (LOAD DATA INFILE) open the file for read only, not for read/write

=== modified file 'MySql.Data/Provider/Source/NativeDriver.cs'
--- a/MySql.Data/Provider/Source/NativeDriver.cs	2010-06-15 14:34:05 +0000
+++ b/MySql.Data/Provider/Source/NativeDriver.cs	2010-06-25 21:35:03 +0000
@@ -427,6 +427,7 @@
 
         public override void Reset()
         {
+            stream.Encoding = this.Encoding;
             stream.SequenceByte = 0;
             packet.Clear();
             packet.WriteByte((byte)DBCmd.CHANGE_USER);

=== modified file 'MySql.Data/Tests/Source/PoolingTests.cs'
Binary files a/MySql.Data/Tests/Source/PoolingTests.cs	2010-06-15 14:34:05 +0000 and b/MySql.Data/Tests/Source/PoolingTests.cs	2010-06-25 21:35:03 +0000 differ

Attachment: [text/bzr-bundle] bzr/reggie.burnett@oracle.com-20100625213503-5g7cn4e2pwe5y1f5.bundle
Thread
bzr commit into connector-net-6.0 branch (reggie.burnett:820) Bug#47153Reggie Burnett25 Jun