From 08d2c41d533b69aff1c7a163fbef6fcbdce02350 Mon Sep 17 00:00:00 2001 From: z00848344 Date: Tue, 27 Feb 2024 11:46:44 +0800 Subject: [PATCH] On branch txn-param-comment Your branch is up to date with 'origin/txn-param-comment'. Changes to be committed: modified: src/gausskernel/storage/mot/core/system/transaction/txn.h --- .../storage/mot/core/system/transaction/txn.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gausskernel/storage/mot/core/system/transaction/txn.h b/src/gausskernel/storage/mot/core/system/transaction/txn.h index 27e223d88..4c48f9b9a 100644 --- a/src/gausskernel/storage/mot/core/system/transaction/txn.h +++ b/src/gausskernel/storage/mot/core/system/transaction/txn.h @@ -404,9 +404,9 @@ public: * @brief Searches for a row in the local cache by a row. * @detail Rows may be updated concurrently, so the cache layer needs to be * consulted to retrieves the most recent version of a row. - * @param table The table in which the row is to be searched. - * @param type The purpose for retrieving the row. - * @param originalRow The original row to search for an updated version of it. + * @param type The operation requested RD/WR/DEL/INS. + * @param originalSentinel The key for the local cache. + * @param rc The return code. * @return The cached row or the original row if none was found in the cache (in * which case the original row is stored in the cache for subsequent searches). */ @@ -418,9 +418,9 @@ public: * @brief Searches for a row in the local cache by a row. * @detail Rows may be updated concurrently, so the cache layer needs to be * consulted to retrieves the most recent version of a row. - * @param table The table in which the row is to be searched. - * @param type The purpose for retrieving the row. - * @param originalRow The original row to search for an updated version of it. + * @param type The operation requested RD/WR/DEL/INS. + * @param originalSentinel The key for the local cache. + * @param localRow The cached row or null pointer if the row is not cached. * @return The cached row or the original row if none was found in the cache (in * which case the original row is stored in the cache for subsequent searches). */