Upgrade xorm to v0.7.9 to fix some bugs (#8354)
* upgrade xorm to v0.7.9 to fix some bugs * upgrade xormstore to v1.3.1
This commit is contained in:
parent
3be43dc5e3
commit
c9f819eae0
15 changed files with 381 additions and 238 deletions
8
vendor/github.com/go-xorm/xorm/statement.go
generated
vendored
8
vendor/github.com/go-xorm/xorm/statement.go
generated
vendored
|
@ -266,6 +266,14 @@ func (statement *Statement) buildUpdates(bean interface{},
|
|||
continue
|
||||
}
|
||||
|
||||
if statement.incrColumns.isColExist(col.Name) {
|
||||
continue
|
||||
} else if statement.decrColumns.isColExist(col.Name) {
|
||||
continue
|
||||
} else if statement.exprColumns.isColExist(col.Name) {
|
||||
continue
|
||||
}
|
||||
|
||||
fieldValuePtr, err := col.ValueOf(bean)
|
||||
if err != nil {
|
||||
engine.logger.Error(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue