~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2008-09-04 19:31:00 UTC
  • Revision ID: brian@tangent.org-20080904193100-l849hgghfy4urj43
Changing default character set from this point on.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
/*********************************************************************
39
39
Checks if trx_id is >= purge_view: then it is guaranteed that its update
40
40
undo log still exists in the system. */
41
 
UNIV_INTERN
 
41
 
42
42
ibool
43
43
trx_purge_update_undo_must_exist(
44
44
/*=============================*/
49
49
/************************************************************************
50
50
Creates the global purge system control structure and inits the history
51
51
mutex. */
52
 
UNIV_INTERN
 
52
 
53
53
void
54
54
trx_purge_sys_create(void);
55
55
/*======================*/
56
56
/************************************************************************
57
57
Adds the update undo log as the first log in the history list. Removes the
58
58
update undo log segment from the rseg slot if it is too big for reuse. */
59
 
UNIV_INTERN
 
59
 
60
60
void
61
61
trx_purge_add_update_undo_to_history(
62
62
/*=================================*/
67
67
/************************************************************************
68
68
Fetches the next undo log record from the history list to purge. It must be
69
69
released with the corresponding release function. */
70
 
UNIV_INTERN
 
70
 
71
71
trx_undo_rec_t*
72
72
trx_purge_fetch_next_rec(
73
73
/*=====================*/
81
81
        mem_heap_t*     heap);  /* in: memory heap where copied */
82
82
/***********************************************************************
83
83
Releases a reserved purge undo record. */
84
 
UNIV_INTERN
 
84
 
85
85
void
86
86
trx_purge_rec_release(
87
87
/*==================*/
88
88
        trx_undo_inf_t* cell);  /* in: storage cell */
89
89
/***********************************************************************
90
90
This function runs a purge batch. */
91
 
UNIV_INTERN
 
91
 
92
92
ulint
93
93
trx_purge(void);
94
94
/*===========*/
96
96
                                the batch */
97
97
/**********************************************************************
98
98
Prints information of the purge system to stderr. */
99
 
UNIV_INTERN
 
99
 
100
100
void
101
101
trx_purge_sys_print(void);
102
102
/*======================*/