mirror of https://github.com/gogs/gogs.git
vendor: update github.com/go-xorm/core (#4913)
parent
63eaac67a6
commit
83655d5c00
|
@ -74,6 +74,7 @@ type Dialect interface {
|
||||||
GetIndexes(tableName string) (map[string]*Index, error)
|
GetIndexes(tableName string) (map[string]*Index, error)
|
||||||
|
|
||||||
Filters() []Filter
|
Filters() []Filter
|
||||||
|
SetParams(params map[string]string)
|
||||||
}
|
}
|
||||||
|
|
||||||
func OpenDialect(dialect Dialect) (*DB, error) {
|
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 (
|
var (
|
||||||
dialects = map[string]func() Dialect{}
|
dialects = map[string]func() Dialect{}
|
||||||
)
|
)
|
||||||
|
|
|
@ -159,10 +159,10 @@
|
||||||
"revisionTime": "2017-05-19T03:21:30Z"
|
"revisionTime": "2017-05-19T03:21:30Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "2r7L5MfFaUro2xn9sjBQuz4jzmw=",
|
"checksumSHA1": "g4e+Nb6gh55ERPYcUCsdYCZ8bdo=",
|
||||||
"path": "github.com/go-xorm/core",
|
"path": "github.com/go-xorm/core",
|
||||||
"revision": "11bcc82696a93ff9339bd30ff0035f2d6b61d17b",
|
"revision": "7d5d723a716c3c1adf5f478990ff7a2ff77d3abe",
|
||||||
"revisionTime": "2018-02-27T08:09:17Z"
|
"revisionTime": "2018-03-08T01:08:13Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "UN8r+3fuSzXJ1tXCe+M8g5eRpOI=",
|
"checksumSHA1": "UN8r+3fuSzXJ1tXCe+M8g5eRpOI=",
|
||||||
|
|
Loading…
Reference in New Issue