From 83655d5c00110044a4ac9bf46ec039379eded5dd Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 9 Mar 2018 00:25:05 -0500 Subject: vendor: update github.com/go-xorm/core (#4913) --- vendor/github.com/go-xorm/core/dialect.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vendor/github.com/go-xorm/core') diff --git a/vendor/github.com/go-xorm/core/dialect.go b/vendor/github.com/go-xorm/core/dialect.go index 6f2e81d0..824d1efe 100644 --- a/vendor/github.com/go-xorm/core/dialect.go +++ b/vendor/github.com/go-xorm/core/dialect.go @@ -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{} ) -- cgit v1.2.3