[Mono-dev] A bug in the latest SVN System.Data (concurrency exception)?

Marek Habersack grendel at caudium.net
Wed Oct 18 15:36:24 EDT 2006


On Wed, 18 Oct 2006 16:57:53 +0200, Robert Jordan <robertj at gmx.net>
scribbled:

[snip]
> > System.Data.DBConcurrencyException: Concurrency violation: the
> > UpdateCommand affected 0 records. at
> > System.Data.Common.DbDataAdapter.Update (System.Data.DataRow[]
> > dataRows, System.Data.Common.DataTableMapping tableMapping)
> > [0x00429]
> > in /usr/src/tmp/mono/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:1059 
> > 
> > And there is at least one row that needs updating, that's for sure.
> > Can anyone confirm that?
> 
> It works for me under the 1.1 profile. I get the exception
> only when I'm trying to update the tables of an unmodified DataSet,
> i.e. dataSet.GetChanges () == null.
That's odd... The code that breaks for me has been working for around 6
months now - and there were no changes made to it. So I'm guessing it
must be something that's changed in Mono somewhere recently. I'll try
to find out what it is,

thanks,

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061018/9d9cd143/attachment.bin 


More information about the Mono-devel-list mailing list