[Mono-bugs] [Bug 681916] null byte array doesnt get stored in the database as null

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 23 16:35:05 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=681916

https://bugzilla.novell.com/show_bug.cgi?id=681916#c3


--- Comment #3 from scott fluto <srfcanada at hotmail.com> 2011-03-23 20:35:05 UTC ---
Debugging it I found patching Tds70.cs and modify:

line 618:

from: 
colType == TdsColumnType.BigVarBinary) && 

to:
colType == TdsColumnType.BigVarBinary || colType == TdsColumnType.Image) && 


all our binary columns are set to varbinary(max) so it will end up being an
image type since its > 8000 byte size which this check seems to be missing.

thanks

scott

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list