fix issue in package gdb

This commit is contained in:
John Guo 2022-03-31 16:57:32 +08:00
parent 87609a3424
commit 66803fd664
2 changed files with 2 additions and 1 deletions

View File

@ -129,6 +129,7 @@ func (m *Model) makeSelectCacheKey(sql string, args ...interface{}) string {
if len(cacheKey) == 0 {
cacheKey = fmt.Sprintf(
`GCache@Schema(%s):%s`,
m.db.GetSchema(),
gmd5.MustEncryptString(sql+", @PARAMS:"+gconv.String(args)),
)
}

View File

@ -1,4 +1,4 @@
package gf
const VERSION = "v2.0.5"
const VERSION = "v2.0.6"
const AUTHORS = "john<john@goframe.org>"