File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ func (me *MySQLError) Error() string {
5959
6060// MySQLWarnings is an error type which represents a group of one or more MySQL
6161// warnings
62- type MySQLWarnings []MysqlWarning
62+ type MySQLWarnings []MySQLWarning
6363
6464func (mws MySQLWarnings ) Error () string {
6565 var msg string
@@ -77,9 +77,9 @@ func (mws MySQLWarnings) Error() string {
7777 return msg
7878}
7979
80- // MysqlWarning is an error type which represents a single MySQL warning.
80+ // MySQLWarning is an error type which represents a single MySQL warning.
8181// Warnings are returned in groups only. See MySQLWarnings
82- type MysqlWarning struct {
82+ type MySQLWarning struct {
8383 Level string
8484 Code string
8585 Message string
@@ -98,7 +98,7 @@ func (mc *mysqlConn) getWarnings() (err error) {
9898 err = rows .Next (values )
9999 switch err {
100100 case nil :
101- warning := MysqlWarning {}
101+ warning := MySQLWarning {}
102102
103103 if raw , ok := values [0 ].([]byte ); ok {
104104 warning .Level = string (raw )
You can’t perform that action at this time.
0 commit comments