[Mono-devel-list] (no subject)

Jörg Rosenkranz joergr at voelcker.com
Mon Aug 18 09:37:09 EDT 2003


Hello,

I have attached two patches to solve bug #40315
(SqlCommand::ExecuteNonQuery always returns 0).

1) I have changed ExecuteNonQuery to return Connection.Tds.RecordsAffected
if it is successfull. 

2) RecordsAffected was not filled correctly by Tds.ProcessEndToken. 
I've found out that the record count was submitted for 
TdsPacketSubType.Done. So I changed the behaviour to include this
(without deeper knowledge of the TDS protocol).

Could someone please review these patches and commit them if there
are no objections against them?

Thanks,
Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mono.Data.Tds.Protocol_40315.diff
Type: application/octet-stream
Size: 824 bytes
Desc: Mono.Data.Tds.Protocol_40315.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030818/ae987485/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System.Data.SqlClient_40315.diff
Type: application/octet-stream
Size: 609 bytes
Desc: System.Data.SqlClient_40315.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030818/ae987485/attachment-0001.obj 


More information about the Mono-devel-list mailing list