vendor: update github.com/go-xorm/core (#4913)

This commit is contained in:
Unknwon
2018-03-09 00:25:05 -05:00
parent 63eaac67a6
commit 83655d5c00
2 changed files with 7 additions and 3 deletions

View File

@@ -74,6 +74,7 @@ type Dialect interface {
GetIndexes(tableName string) (map[string]*Index, error)
Filters() []Filter
SetParams(params map[string]string)
}
func OpenDialect(dialect Dialect) (*DB, error) {
@@ -289,6 +290,9 @@ func (b *Base) LogSQL(sql string, args []interface{}) {
}
}
func (b *Base) SetParams(params map[string]string) {
}
var (
dialects = map[string]func() Dialect{}
)