Update xorm and fix dump command (#692)
* update xorm and fix dump * catch database init error * still use dumpTables * fix dump bool type * update vendor.json
This commit is contained in:
parent
74ed6dc3ad
commit
a8048c19f3
14 changed files with 631 additions and 717 deletions
3
vendor/github.com/go-xorm/xorm/session_get.go
generated
vendored
3
vendor/github.com/go-xorm/xorm/session_get.go
generated
vendored
|
@ -65,7 +65,8 @@ func (session *Session) nocacheGet(bean interface{}, sqlStr string, args ...inte
|
|||
defer rawRows.Close()
|
||||
|
||||
if rawRows.Next() {
|
||||
if fields, err := rawRows.Columns(); err == nil {
|
||||
fields, err := rawRows.Columns()
|
||||
if err == nil {
|
||||
err = session.row2Bean(rawRows, fields, len(fields), bean)
|
||||
}
|
||||
return true, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue