[Mono-bugs] [Bug 385027] New: DbCommandBuilder AllowDBNull checks don't add Parameters
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Apr 29 18:48:30 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=385027
Summary: DbCommandBuilder AllowDBNull checks don't add Parameters
Product: Mono: Class Libraries
Version: 1.9.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Data
AssignedTo: bnc-blr-team-mono at forge.provo.novell.com
ReportedBy: tedu at fogcreek.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
The create Update and Delete Command methods use too many parameter indices.
This results in errors like:
MySql.Data.MySqlClient.MySqlException: Parameter '@p6' must be defined.
at MySql.Data.MySqlClient.Statement.SerializeParameter
(MySql.Data.MySqlClient
MySqlParameterCollection parameters, MySql.Data.MySqlClient.MySqlStream
stream,
System.String parmName) [0x00000]
at MySql.Data.MySqlClient.Statement.InternalBindParameters (System.String
sql,
MySql.Data.MySqlClient.MySqlParameterCollection parameters,
MySql.Data.MySqlCli
ent.MySqlStream stream) [0x00000]
at MySql.Data.MySqlClient.Statement.BindParameters () [0x00000]
at MySql.Data.MySqlClient.Statement.Execute () [0x00000]
at MySql.Data.MySqlClient.PreparableStatement.Execute () [0x00000]
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (CommandBehavior
behavior
) [0x00000]
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list