MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:rburnett Date:January 8 2008 5:11pm
Subject:Connector/NET commit: r1137 - in branches/1.0: . mysqlclient
View as plain text  
Modified:
   branches/1.0/CHANGES
   branches/1.0/mysqlclient/nativedriver.cs
Log:
- Fixed long standing problem with compression over a network.  It's now fast again. (bug #27865)    

We were using a bufferedstream on top of a compression stream and this was causing some significant slowdowns. 



Modified: branches/1.0/CHANGES
===================================================================
--- branches/1.0/CHANGES	2008-01-08 17:03:44 UTC (rev 1136)
+++ branches/1.0/CHANGES	2008-01-08 17:11:12 UTC (rev 1137)
@@ -15,6 +15,7 @@
   - fixed problem where changing the connection string of a connection to one that changes
     the parameter marker after the connection had been assigned to a command but before
     the connection is opened can cause parameters to not be found (bug #13991)                
+  - Fixed long standing problem with compression over a network.  It's now fast again. (bug #27865)    
                 
 Version 1.0.10
     Bugs

Modified: branches/1.0/mysqlclient/nativedriver.cs
===================================================================
--- branches/1.0/mysqlclient/nativedriver.cs	2008-01-08 17:03:44 UTC (rev 1136)
+++ branches/1.0/mysqlclient/nativedriver.cs	2008-01-08 17:11:12 UTC (rev 1137)
@@ -229,9 +229,9 @@
 			if ((connectionFlags & ClientFlags.COMPRESS) != 0)
 			{
 				//stream = new CompressedStream( stream, MaxSinglePacket );
-				writer = new PacketWriter(new BufferedStream(new CompressedStream(stream)), this);
+				writer = new PacketWriter(new CompressedStream(new BufferedStream(stream)), this);
 				writer.Encoding = encoding;
-				reader = new PacketReader(new BufferedStream(new CompressedStream(stream)), this);
+				reader = new PacketReader(new CompressedStream(new BufferedStream(stream)), this);
 			}
 
 			isOpen = true;

Thread
Connector/NET commit: r1137 - in branches/1.0: . mysqlclientrburnett8 Jan