List:Commits« Previous MessageNext Message »
From:Vladislav Vaintroub Date:August 10 2010 10:32am
Subject:bzr commit into connector-net-6.0 branch (vvaintroub:832) Bug#55644
View as plain text  
#At file:///H:/connector_net/6.0/ based on revid:vvaintroub@stripped

  832 Vladislav Vaintroub	2010-08-10
      post-push fix for Bug#55644 
      (length parameter in ReadString was lost the original push)

    modified:
      MySql.Data/Provider/Source/Types/MySqlDouble.cs
=== modified file 'MySql.Data/Provider/Source/Types/MySqlDouble.cs'
--- a/MySql.Data/Provider/Source/Types/MySqlDouble.cs	2010-08-03 15:55:53 +0000
+++ b/MySql.Data/Provider/Source/Types/MySqlDouble.cs	2010-08-10 10:32:49 +0000
@@ -101,7 +101,7 @@ namespace MySql.Data.Types
                 packet.Read(b, 0, 8);
 				return new MySqlDouble(BitConverter.ToDouble(b, 0));
 			}
-            string s = packet.ReadString();
+            string s = packet.ReadString(length);
             double d;
             try
             {


Attachment: [text/bzr-bundle] bzr/vvaintroub@mysql.com-20100810103249-ghl3d14pj9qqp7gl.bundle
Thread
bzr commit into connector-net-6.0 branch (vvaintroub:832) Bug#55644Vladislav Vaintroub10 Aug