Modified:
trunk/CHANGES
trunk/mysqlclient/core/NativeDriver.cs
Log:
Bug #25151 Reading from the stream has failed Exception in MySQL Connector 5.0.2
This patch likely fixes this issue. Sending blobs > max packet size (about 16M) would
fail because we were not setting the max block size for the stream.
Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES 2006-12-18 16:30:20 UTC (rev 508)
+++ trunk/CHANGES 2006-12-19 17:25:47 UTC (rev 509)
@@ -12,6 +12,7 @@
are required. This will be fixed when the server exposes procedure parameters via
information schema.]
Bug #25013 Return Value parameter not found
+ Bug #25151 Reading from the stream has failed Exception in MySQL Connector 5.0.2
Other changes
-------------
Modified: trunk/mysqlclient/core/NativeDriver.cs
===================================================================
--- trunk/mysqlclient/core/NativeDriver.cs 2006-12-18 16:30:20 UTC (rev 508)
+++ trunk/mysqlclient/core/NativeDriver.cs 2006-12-19 17:25:47 UTC (rev 509)
@@ -263,6 +263,7 @@
// We may have some fields that are read differently based
// on the version of the server we are connected to.
stream.Version = this.version;
+ stream.MaxBlockSize = maxSinglePacket;
isOpen = true;
}
| Thread |
|---|
| • Connector/NET commit: r509 - in trunk: . mysqlclient/core | rburnett | 19 Dec |