Skip to content

Commit 5f91140

Browse files
committed
Merge pull request #74 from go-sql-driver/typo
add missing brace in Errorf
2 parents b4eb2f3 + 5b1a79e commit 5f91140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ func (stmt *mysqlStmt) writeCommandLongData(paramID int, arg []byte) (err error)
699699
func (stmt *mysqlStmt) writeExecutePacket(args []driver.Value) error {
700700
if len(args) != stmt.paramCount {
701701
return fmt.Errorf(
702-
"Arguments count mismatch (Got: %d Has: %d",
702+
"Arguments count mismatch (Got: %d Has: %d)",
703703
len(args),
704704
stmt.paramCount)
705705
}

0 commit comments

Comments
 (0)