[Mono-devel-list] Ugly SqlDataAdapter behaviour

Aleksandar Dezelin dezelin32 at fastmail.fm
Thu Oct 28 13:53:11 EDT 2004


Aleksandar Dezelin wrote:<>S Umadevi wrote:

> Hello
>
> I will look at this bug.. I will  either point you out to a file which
> needs to be fixed or provide a fix.
> Will get back in a day.
>
> Regards
> uma
>  
>
This is the REAL BUGFIX:

Tds.cs: 494 - method GetColumnValue

It's:
           case TdsColumnType.UniqueIdentifier :
               if (comm.Peek () != 16) // If it's null, then what to do?
                   break;

It should be:
           case TdsColumnType.UniqueIdentifier :
               if (comm.Peek () != 16) { // If it's null, then what to 
do?  -- Swallow byte ;)
                  byte swallowed = comm.GetByte();
                   element = DBNull.Value;
                   break;
               }

Where should I post this bug fix?

Regards,
Aleksandar Dezelin




-- 
Linux is like wigwam - no windows, no gates and apache inside. ... 




More information about the Mono-devel-list mailing list