do not recover cache

This commit is contained in:
hebo
2019-10-08 16:01:15 +08:00
parent c3531819bd
commit 1d64e41b58

View File

@@ -71,7 +71,7 @@ func (mqp *MysqlQueryPiece) GetSQL() (str *string) {
} }
func (pmqp *PooledMysqlQueryPiece) Recovery() { func (pmqp *PooledMysqlQueryPiece) Recovery() {
pmqp.sliceBufferPool.Enqueue(pmqp.jsonContent[:0]) // pmqp.sliceBufferPool.Enqueue(pmqp.jsonContent[:0])
pmqp.jsonContent = nil pmqp.jsonContent = nil
pmqp.recoverPool.Enqueue(pmqp) pmqp.recoverPool.Enqueue(pmqp)
} }