1
0
Fork 0
forked from forgejo/forgejo

Upgrade xorm to v1.2.4 (#17059) (#17068)

Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
Lunny Xiao 2021-09-17 01:53:28 +08:00 committed by GitHub
parent 8de44d1995
commit e21a35698c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 150 additions and 162 deletions

5
vendor/xorm.io/xorm/session.go generated vendored
View file

@ -174,6 +174,11 @@ func (session *Session) Engine() *Engine {
return session.engine
}
// Tx returns session tx
func (session *Session) Tx() *core.Tx {
return session.tx
}
func (session *Session) getQueryer() core.Queryer {
if session.tx != nil {
return session.tx