[Mono-bugs] [Bug 656833] OdbcParameter.Bind() can pass a NULL pointer to SQLBindParameter

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 21 16:06:05 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=656833#c2


--- Comment #2 from Veerapuram Varadhan <vvaradhan at novell.com> 2011-03-21 20:06:05 UTC ---
As per MSDN: http://msdn.microsoft.com/en-us/library/ms710963(v=vs.85).aspx
under ParameterValuePtr Argument subheading in the comments section.

"An application can set the ParameterValuePtr argument to a null pointer, as
long as *StrLen_or_IndPtr is SQL_NULL_DATA or SQL_DATA_AT_EXEC. (This applies
only to input or input/output parameters.)"

So, Mono's OdbcParameter.Bind does what MSDN says.  If you can get a test
program that works under .NET and fails with Mono (and probably a link to
download/configure the target odbc driver in Linux) that will help in solving
the bug.

-- 
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