[CP] [to #53858480, #54677465] free pieces in piece_cache_ synchrounously

This commit is contained in:
obdev
2024-02-20 09:15:50 +00:00
committed by ob-robot
parent d1d2c34d47
commit 661031247f
9 changed files with 46 additions and 42 deletions

View File

@ -784,7 +784,7 @@ int ObMPStmtFetch::response_row(ObSQLSessionInfo &session,
{
int ret = OB_SUCCESS;
common::ObNewRow row;
ObPieceCache *piece_cache = static_cast<ObPieceCache*>(session.get_piece_cache(true));
ObPieceCache *piece_cache = session.get_piece_cache(true);
if (OB_ISNULL(piece_cache)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("piece cache is null.", K(ret), K(stmt_id));