summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/trx0purge.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/include/trx0purge.ic')
-rw-r--r--storage/xtradb/include/trx0purge.ic11
1 files changed, 6 insertions, 5 deletions
diff --git a/storage/xtradb/include/trx0purge.ic b/storage/xtradb/include/trx0purge.ic
index 2c1d2ac75af..de09e393654 100644
--- a/storage/xtradb/include/trx0purge.ic
+++ b/storage/xtradb/include/trx0purge.ic
@@ -16,7 +16,8 @@ Place, Suite 330, Boston, MA 02111-1307 USA
*****************************************************************************/
-/******************************************************
+/**************************************************//**
+@file include/trx0purge.ic
Purge old versions
Created 3/26/1996 Heikki Tuuri
@@ -24,15 +25,15 @@ Created 3/26/1996 Heikki Tuuri
#include "trx0undo.h"
-/************************************************************************
+/********************************************************************//**
Calculates the file address of an undo log header when we have the file
-address of its history list node. */
+address of its history list node.
+@return file address of the log */
UNIV_INLINE
fil_addr_t
trx_purge_get_log_from_hist(
/*========================*/
- /* out: file address of the log */
- fil_addr_t node_addr) /* in: file address of the history
+ fil_addr_t node_addr) /*!< in: file address of the history
list node of the log */
{
node_addr.boffset -= TRX_UNDO_HISTORY_NODE;