浏览代码

Revert formating of MySQLError.Error()

users may rely on it
Julien Schmidt 10 年之前
父节点
当前提交
4cad0fb506
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      errors.go

+ 1 - 1
errors.go

@@ -56,7 +56,7 @@ type MySQLError struct {
 }
 
 func (me *MySQLError) Error() string {
-	return fmt.Sprintf("error %d: %s", me.Number, me.Message)
+	return fmt.Sprintf("Error %d: %s", me.Number, me.Message)
 }
 
 // MySQLWarnings is an error type which represents a group of one or more MySQL