rename SetArguments to SetParams

This commit is contained in:
m2nlight 2018-03-08 04:19:37 +08:00 committed by GitHub
parent cf3f2b687a
commit 8f7acbdfaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -179,8 +179,8 @@ func (db *mysql) Init(d *core.DB, uri *core.Uri, drivername, dataSourceName stri
return db.Base.Init(d, db, uri, drivername, dataSourceName)
}
func (db *mysql) SetArguments(args map[string]string) {
rowFormat, ok := args["rowFormat"]
func (db *mysql) SetParams(params map[string]string) {
rowFormat, ok := params["rowFormat"]
if ok {
var t = strings.ToUpper(rowFormat)
switch t {