fix session_delete getCacher tablename param error

This commit is contained in:
Slory7 2018-10-30 11:28:45 +08:00
parent 3add351809
commit 4b768af151
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ func (session *Session) Delete(bean interface{}) (int64, error) {
})
}
if cacher := session.engine.getCacher(tableName); cacher != nil && session.statement.UseCache {
if cacher := session.engine.getCacher(tableNameNoQuote); cacher != nil && session.statement.UseCache {
session.cacheDelete(table, tableNameNoQuote, deleteSQL, argsForCache...)
}