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

@ -114,7 +114,8 @@ func (rows *Rows) Scan(bean interface{}) error {
return fmt.Errorf("scan arg is incompatible type to [%v]", rows.beanType)
}
return rows.session.row2Bean(rows.rows, rows.fields, rows.fieldsCount, bean)
_, err := rows.session.row2Bean(rows.rows, rows.fields, rows.fieldsCount, bean)
return err
}
// Close session if session.IsAutoClose is true, and claimed any opened resources