[Mono-devel-list] Ugly SqlDataAdapter behaviour

Aleksandar Dezelin dezelin32 at fastmail.fm
Thu Oct 28 12:47:17 EDT 2004


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
>  
>
I've found what happens:

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?
                   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