aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-03-09 00:25:05 -0500
committerUnknwon <u@gogs.io>2018-03-09 00:25:05 -0500
commit83655d5c00110044a4ac9bf46ec039379eded5dd (patch)
treeedd31499a2b2e9d56a6b413aad75e6041b7ab8e2 /vendor/github.com
parent63eaac67a64c77c8a17b429647a3599b84f5e66a (diff)
vendor: update github.com/go-xorm/core (#4913)
Diffstat (limited to 'vendor/github.com')
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{}
)