aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com')
-rw-r--r--vendor/github.com/go-xorm/core/dialect.go4
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{}
)