|
@@ -699,7 +699,7 @@ func (stmt *mysqlStmt) writeCommandLongData(paramID int, arg []byte) (err error)
|
|
|
func (stmt *mysqlStmt) writeExecutePacket(args []driver.Value) error {
|
|
func (stmt *mysqlStmt) writeExecutePacket(args []driver.Value) error {
|
|
|
if len(args) != stmt.paramCount {
|
|
if len(args) != stmt.paramCount {
|
|
|
return fmt.Errorf(
|
|
return fmt.Errorf(
|
|
|
- "Arguments count mismatch (Got: %d Has: %d",
|
|
|
|
|
|
|
+ "Arguments count mismatch (Got: %d Has: %d)",
|
|
|
len(args),
|
|
len(args),
|
|
|
stmt.paramCount)
|
|
stmt.paramCount)
|
|
|
}
|
|
}
|