Browse Source

Merge pull request #74 from go-sql-driver/typo

add missing brace in Errorf
Julien Schmidt 12 years ago
parent
commit
5f911400e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packets.go

+ 1 - 1
packets.go

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