[Mono-devel-list] [PATCH] but in System.Data.UniqueConstraint.AssertConstraint
Eran Domb
erand at mainsoft.com
Mon Sep 29 07:22:40 EDT 2003
Hello
There is a bug in UniqueConstraint.AssertConstraint(DataRow row).
There is no check that values in the row are not null, were it is a
primary key column.
Also check that the row has a proposed version, if not - we get the
current version when we compare the rows.
Attached are TestCase and patch.
Thanks
Eran.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030929/467e4117/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UniqueConstraint.cs.diff
Type: application/octet-stream
Size: 1482 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030929/467e4117/attachment.obj
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: UniqueConstraintTest.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030929/467e4117/attachment.pl
More information about the Mono-devel-list
mailing list