Modified:
trunk/CHANGES
trunk/Driver/Source/Field.cs
Log:
merged 976 from 5.1
Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES 2007-08-24 21:02:21 UTC (rev 976)
+++ trunk/CHANGES 2007-08-24 21:05:40 UTC (rev 977)
@@ -64,6 +64,11 @@
What this means is that passing in null as a database restriction will report
objects on the currently selected database only.
+Version 5.0.9
+
+ - Fixed problem where fields that were blobs but did not include the BLOB flag were treated
+ as binary when they should have been treated as text. (Bug #30233)
+
Version 5.0.8 8/16/2007
Bug #28706 Log messages are truncated
- Fixed a problem with compression over a network. We were letting the inflate stream read
Modified: trunk/Driver/Source/Field.cs
===================================================================
--- trunk/Driver/Source/Field.cs 2007-08-24 21:02:21 UTC (rev 976)
+++ trunk/Driver/Source/Field.cs 2007-08-24 21:05:40 UTC (rev 977)
@@ -143,16 +143,17 @@
get { return (colFlags & ColumnFlags.PRIMARY_KEY) > 0; }
}
- public bool IsBlob
- {
- get
- {
- return (mySqlDbType >= MySqlDbType.TinyBlob &&
- mySqlDbType <= MySqlDbType.Blob) ||
- (mySqlDbType >= MySqlDbType.TinyText &&
- mySqlDbType <= MySqlDbType.Text);
- }
- }
+ public bool IsBlob
+ {
+ get
+ {
+ return (mySqlDbType >= MySqlDbType.TinyBlob &&
+ mySqlDbType <= MySqlDbType.Blob) ||
+ (mySqlDbType >= MySqlDbType.TinyText &&
+ mySqlDbType <= MySqlDbType.Text) ||
+ (colFlags & ColumnFlags.BLOB) > 0;
+ }
+ }
public bool IsBinary
{
| Thread |
|---|
| • Connector/NET commit: r977 - in trunk: . Driver/Source | rburnett | 24 Aug |