update xorm for fixing bug on processor BeforeSet and AfterSet when Find a map (#987)

This commit is contained in:
Lunny Xiao 2017-02-20 19:33:10 +08:00 committed by GitHub
parent 04fdeb9d8d
commit c5f8b96dda
7 changed files with 363 additions and 153 deletions

View file

@ -67,7 +67,7 @@ func (session *Session) nocacheGet(bean interface{}, sqlStr string, args ...inte
if rawRows.Next() {
fields, err := rawRows.Columns()
if err == nil {
err = session.row2Bean(rawRows, fields, len(fields), bean)
_, err = session.row2Bean(rawRows, fields, len(fields), bean)
}
return true, err
}