From 0483e0f9434336174d9a2d2abb6fd6c3709759e6 Mon Sep 17 00:00:00 2001 From: chinaxing Date: Fri, 29 Dec 2023 03:13:23 +0000 Subject: [PATCH] fix process commit cb linked-list --- src/storage/tx/ob_trans_ctx_mgr_v4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/tx/ob_trans_ctx_mgr_v4.cpp b/src/storage/tx/ob_trans_ctx_mgr_v4.cpp index f978a3f53f..2bdca9da3e 100644 --- a/src/storage/tx/ob_trans_ctx_mgr_v4.cpp +++ b/src/storage/tx/ob_trans_ctx_mgr_v4.cpp @@ -251,7 +251,7 @@ int ObLSTxCtxMgr::process_callback_(ObTxCommitCallback *&cb_list) const int ret = OB_SUCCESS; ObTxCommitCallback *next = NULL; for (ObTxCommitCallback *iter = cb_list; iter != NULL; iter = next) { - ObTxCommitCallback *next = iter->get_link_next(); + next = iter->get_link_next(); iter->callback(); } return ret;