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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@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.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to