diff options
author | Unknwon <u@gogs.io> | 2018-03-09 00:25:05 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-03-09 00:25:05 -0500 |
commit | 83655d5c00110044a4ac9bf46ec039379eded5dd (patch) | |
tree | edd31499a2b2e9d56a6b413aad75e6041b7ab8e2 /vendor/github.com | |
parent | 63eaac67a64c77c8a17b429647a3599b84f5e66a (diff) |
vendor: update github.com/go-xorm/core (#4913)
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/go-xorm/core/dialect.go | 4 |
1 files changed, 4 insertions, 0 deletions
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{} ) |