bug fixed

This commit is contained in:
Lunny Xiao 2015-05-20 10:27:01 +08:00
parent f9c968d98a
commit fb995894f0
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
xorm v0.4.3.0428 xorm v0.4.3.0520

View File

@ -877,7 +877,7 @@ func (session *Session) cacheFind(t reflect.Type, sqlStr string, rowsSlicePtr in
for j := 0; j < len(temps); j++ { for j := 0; j < len(temps); j++ {
bean := temps[j] bean := temps[j]
if bean == nil { if bean == nil {
session.Engine.LogWarn("[cacheFind] cache no hit:", tableName, ides[j], temps) session.Engine.LogWarn("[cacheFind] cache no hit:", tableName, ids[j], temps)
// return errors.New("cache error") // !nashtsai! no need to return error, but continue instead // return errors.New("cache error") // !nashtsai! no need to return error, but continue instead
continue continue
} }

View File

@ -17,7 +17,7 @@ import (
) )
const ( const (
Version string = "0.4.3.0518" Version string = "0.4.3.0520"
) )
func regDrvsNDialects() bool { func regDrvsNDialects() bool {