If a parameter is NULL or DBNull then its size needs to be zero otherwise the paramet...
authorNeale Ferguson <neale@sinenomine.net>
Thu, 5 Jan 2012 17:48:02 +0000 (12:48 -0500)
committerNeale Ferguson <neale@sinenomine.net>
Thu, 5 Jan 2012 17:48:02 +0000 (12:48 -0500)
commit4109fd65d2e3f780fd5b905edd531dcf84e7b3cb
tree4c0c6c49a77fa5b1130b2d9940c60d3b76fcea07
parentff9af04252cccefcb77a71d92bfa41928e2f373f
If a parameter is NULL or DBNull then its size needs to be zero otherwise the parameter gets treated as an empty string which is a different thing to a NULL. Microsoft will send a true NULL, this will get mono to do the same.
mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs