Modified:
branches/1.0/CHANGES
branches/1.0/mysqlclient/Field.cs
Log:
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)
Modified: branches/1.0/CHANGES
===================================================================
--- branches/1.0/CHANGES 2007-08-24 21:05:40 UTC (rev 977)
+++ branches/1.0/CHANGES 2007-08-24 21:08:49 UTC (rev 978)
@@ -1,3 +1,7 @@
+Version 1.0.11
+ - 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 1.0.10
Bugs
----
Modified: branches/1.0/mysqlclient/Field.cs
===================================================================
--- branches/1.0/mysqlclient/Field.cs 2007-08-24 21:05:40 UTC (rev 977)
+++ branches/1.0/mysqlclient/Field.cs 2007-08-24 21:08:49 UTC (rev 978)
@@ -144,7 +144,14 @@
public bool IsBlob
{
- get { return (colFlags & ColumnFlags.BLOB) > 0; }
+ 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: r978 - in branches/1.0: . mysqlclient | rburnett | 24 Aug |