[Mono-dev] DataTable bug in 1.1.13

Konstantin Triger kostat at mainsoft.com
Sun Feb 5 07:00:26 EST 2006


Attached is a proposed patch which is supposed to fix the issue.
Michael, can you test whether it works for you?

I did not test this fix on all the providers - please object checkin if
it breaks someone.

Konstantin Triger

-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of T
Sent: Sunday, February 05, 2006 1:05 PM
To: Michael Hunley; mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] DataTable bug in 1.1.13


>>Under MS .NET 1.1 the DataTable from the SQL query does not have any
of the schema set, like whether a column can be NULL or its default
value.  Under Mono 1.1.13 part of it is set.
I think the problem is because DataAdapter.Fill , adds the complete
schema info.. This is a bug.. Complete schema info should be filled only
on using FillSchema..

anyway, if it works on ms.net and doesn't work on mono, then its a bug
.. pls open a bug report with a sample code reproducing the problem u r

Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DbDataAdapter.patch
Type: application/octet-stream
Size: 559 bytes
Desc: DbDataAdapter.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060205/a79f8a9a/attachment.obj 

More information about the Mono-devel-list mailing list