~mysql-clr-team/connectornet/5.2

« back to all changes in this revision

Viewing changes to MySql.Data/Provider/Source/Field.cs

  • Committer: rburnett
  • Date: 2009-07-28 12:59:28 UTC
  • Revision ID: svn-v4:2c9ddd90-d0e4-2748-bbbe-478c86ca91f6:branches/5.2:1707
merged

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
        public IMySqlValue GetValueObject()
291
291
        {
292
292
            IMySqlValue v = GetIMySqlValue(Type);
293
 
            if (v is MySqlByte && ColumnLength == 1 && MaxLength == 1 && connection.Settings.TreatTinyAsBoolean)
 
293
            if (v is MySqlByte && ColumnLength == 1 && connection.Settings.TreatTinyAsBoolean)
294
294
            {
295
295
                MySqlByte b = (MySqlByte)v;
296
296
                b.TreatAsBoolean = true;