~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/trx0roll.h

Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
Rollback or clean up any incomplete transactions which were
134
134
encountered in crash recovery.  If the transaction already was
135
135
committed, then we clean up a possible insert undo log. If the
 
136
transaction was not yet committed, then we roll it back. */
 
137
UNIV_INTERN
 
138
void
 
139
trx_rollback_or_clean_recovered(
 
140
/*============================*/
 
141
        ibool   all);   /*!< in: FALSE=roll back dictionary transactions;
 
142
                        TRUE=roll back all non-PREPARED transactions */
 
143
/*******************************************************************//**
 
144
Rollback or clean up any incomplete transactions which were
 
145
encountered in crash recovery.  If the transaction already was
 
146
committed, then we clean up a possible insert undo log. If the
136
147
transaction was not yet committed, then we roll it back.
137
148
Note: this is done in a background thread.
138
149
@return a dummy parameter */
208
219
trx_general_rollback_for_mysql(
209
220
/*===========================*/
210
221
        trx_t*          trx,    /*!< in: transaction handle */
211
 
        ibool           partial,/*!< in: TRUE if partial rollback requested */
212
222
        trx_savept_t*   savept);/*!< in: pointer to savepoint undo number, if
213
 
                                partial rollback requested */
 
223
                                partial rollback requested, or NULL for
 
224
                                complete rollback */
214
225
/*******************************************************************//**
215
226
Rolls back a transaction back to a named savepoint. Modifications after the
216
227
savepoint are undone but InnoDB does NOT release the corresponding locks