fix: mysql WithAcceptable bug (#3986)
This commit is contained in:
@@ -13,7 +13,7 @@ const (
|
||||
|
||||
// NewMysql returns a mysql connection.
|
||||
func NewMysql(datasource string, opts ...SqlOption) SqlConn {
|
||||
opts = append(opts, withMysqlAcceptable())
|
||||
opts = append([]SqlOption{withMysqlAcceptable()}, opts...)
|
||||
return NewSqlConn(mysqlDriverName, datasource, opts...)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user