diff --git a/src/storage/transaction/ob_trans_sche_ctx.cpp b/src/storage/transaction/ob_trans_sche_ctx.cpp index d7aab8a48f657fe0eadcd576955ea50210ae2872..107a389c7443ee08383bbc6f2493cf12f0cb3f1d 100644 --- a/src/storage/transaction/ob_trans_sche_ctx.cpp +++ b/src/storage/transaction/ob_trans_sche_ctx.cpp @@ -3506,6 +3506,7 @@ int ObScheTransCtx::save_trans_desc_(const ObTransDesc& trans_desc) void* ptr = NULL; if (OB_UNLIKELY(NULL == (ptr = ob_malloc(sizeof(ObTransDesc), "ObScheTransCtx")))) { ret = OB_ALLOCATE_MEMORY_FAILED; + TRANS_LOG(WARN, "fail to alloc memory", K(ret), K(*this)); } else { trans_desc_ = new (ptr) ObTransDesc; }