~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/trx0purge.ic

  • Committer: Monty Taylor
  • Date: 2009-08-12 06:25:19 UTC
  • mto: (1114.1.1 innodb-plugin-merge)
  • mto: This revision was merged to the branch mainline in revision 1183.
  • Revision ID: mordred@inaugust.com-20090812062519-cij02mrrunvnxblt
Tags: innodb-plugin-1.0.4
InnoDB Plugin 1.0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
*****************************************************************************/
18
18
 
19
 
/******************************************************
 
19
/**************************************************//**
 
20
@file include/trx0purge.ic
20
21
Purge old versions
21
22
 
22
23
Created 3/26/1996 Heikki Tuuri
24
25
 
25
26
#include "trx0undo.h"
26
27
 
27
 
/************************************************************************
 
28
/********************************************************************//**
28
29
Calculates the file address of an undo log header when we have the file
29
 
address of its history list node. */
 
30
address of its history list node.
 
31
@return file address of the log */
30
32
UNIV_INLINE
31
33
fil_addr_t
32
34
trx_purge_get_log_from_hist(
33
35
/*========================*/
34
 
                                        /* out: file address of the log */
35
 
        fil_addr_t      node_addr)      /* in: file address of the history
 
36
        fil_addr_t      node_addr)      /*!< in: file address of the history
36
37
                                        list node of the log */
37
38
{
38
39
        node_addr.boffset -= TRX_UNDO_HISTORY_NODE;