List:Commits« Previous MessageNext Message »
From:Vladislav Vaintroub Date:August 5 2009 12:15am
Subject:bzr push into connector-net-6.0 branch (vvaintroub:739 to 740)
Bug#43736
View as plain text  
  740 Vladislav Vaintroub	2009-08-05
      - workaround for .NET compact framework problems when writing behind the end of MemoryStream (contributed by Nicholas Piasecki) (bug#43736)

    modified:
      CHANGES
      MySql.Data/Provider/Source/MySqlPacket.cs
  739 Vladislav Vaintroub	2009-08-04 [merge]
      merge

    removed:
      Installer/register.cmd
      Installer/registration.wxs
    added:
      Installer/register.cmd
      Installer/registration.wxs
    modified:
      CHANGES
      Documentation/Guide/Compatibility.html
      Documentation/introduction.html
      Installer/registration/mysql_ca.dll
      MySql.Data.Entity/Provider/Generators/SelectGenerator.cs
      MySql.Data.Entity/Tests/Paging.cs
      MySql.VisualStudio/MySql.VisualStudio.csproj
      MySql.Web/Providers/MySql.Web.csproj
      MySql.Web/Providers/Source/MembershipProvider.cs
      MySql.Web/Providers/Source/ProfileProvider.cs
      MySql.Web/Providers/Source/RoleProvider.cs
      MySql.Web/Tests/UserManagement.cs
=== modified file 'CHANGES'
--- a/CHANGES	2009-08-04 21:30:03 +0000
+++ b/CHANGES	2009-08-05 00:15:23 +0000
@@ -1,4 +1,6 @@
 Version 6.0.5
+- workaround for .NET compact framework problems when writing behind the end of MemoryStream 
+(contributed by Nicholas Piasecki) (bug#43736)
 - added keepalive connection option that can be used to detect network outages faster 
   and prevent firewalls from dropping idle connections (bug#40684)
 - fixed bug where our internal driver was using a batched command even if the user had added

=== modified file 'MySql.Data/Provider/Source/MySqlPacket.cs'
--- a/MySql.Data/Provider/Source/MySqlPacket.cs	2009-04-21 18:02:13 +0000
+++ b/MySql.Data/Provider/Source/MySqlPacket.cs	2009-08-05 00:15:23 +0000
@@ -31,7 +31,7 @@ namespace MySql.Data.MySqlClient
     {
         private byte[] tempBuffer = new byte[256];
         private Encoding encoding;
-        private MemoryStream buffer = new MemoryStream();
+        private MemoryStream buffer = new MemoryStream(5);
         private DBVersion version;
 
         public MySqlPacket()


Attachment: [text/bzr-bundle] bzr/vvaintroub@mysql.com-20090805001523-fouzun1gaxg5oa5b.bundle
Thread
bzr push into connector-net-6.0 branch (vvaintroub:739 to 740)Bug#43736Vladislav Vaintroub5 Aug