[Mono-devel-list] Patch for SqlDataReader

Jörg Rosenkranz joergr at voelcker.com
Wed Aug 6 05:55:39 EDT 2003


There is a problem in SqlDataReader:
GetBytes should return the length of the data field when parameter 
'buffer' is set to null. Mono throws an ArgumentNullException in 
this case. The attached patch should fix this behaviour. 

Could someone please review and commit it?

I will file a bug in bugzilla when the web server is up again. 

Thanks,
Jörg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SqlDataReader.diff
Type: application/octet-stream
Size: 964 bytes
Desc: SqlDataReader.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030806/bed47c85/attachment.obj 


More information about the Mono-devel-list mailing list