Modified:
branches/5.0/Driver/Source/Field.cs
Log:
removing CheckExceptions and some commented out code that is not used in 5.0
Modified: branches/5.0/Driver/Source/Field.cs
===================================================================
--- branches/5.0/Driver/Source/Field.cs 2007-08-10 21:31:37 UTC (rev 863)
+++ branches/5.0/Driver/Source/Field.cs 2007-08-10 21:32:17 UTC (rev 864)
@@ -200,10 +200,6 @@
}
}
- // now determine if we really should be binary
-// if (CharacterSetIndex == 63 && (colFlags & ColumnFlags.BINARY) != 0)
- // CheckForExceptions();
-
if (IsBlob && !IsBinary)
{
if (type == MySqlDbType.TinyBlob)
@@ -215,27 +211,8 @@
else if (type == MySqlDbType.LongBlob)
mySqlDbType = MySqlDbType.LongText;
}
- /*
- if (type == MySqlDbType.String)
- mySqlDbType = MySqlDbType.Binary;
- else if (type == MySqlDbType.VarChar ||
- type == MySqlDbType.VarString)
- mySqlDbType = MySqlDbType.VarBinary;
- }
- else
- {
- }*/
}
- private void CheckForExceptions()
- {
- string colName = OriginalColumnName.ToLower(CultureInfo.InvariantCulture);
- if (colName.StartsWith("char("))
- binaryOk = false;
- else if (connection.IsExecutingBuggyQuery)
- binaryOk = false;
- }
-
public IMySqlValue GetValueObject()
{
return GetIMySqlValue(Type);
| Thread |
|---|
| • Connector/NET commit: r864 - branches/5.0/Driver/Source | rburnett | 10 Aug |