diff options
author | monty@mysql.com <> | 2004-06-21 10:24:40 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2004-06-21 10:24:40 +0300 |
commit | d69a36d11803887272742247a546ba593d4d95c3 (patch) | |
tree | 0e02d42f7a1f1f532c1d780d1c57097202d7369d /innobase/include/trx0roll.h | |
parent | 9ddd3ad5ec24c3adc137861af0323c8d624a301c (diff) | |
parent | 1388c164bcd235c9612961bc902cd9e77b079a89 (diff) | |
download | mariadb-git-d69a36d11803887272742247a546ba593d4d95c3.tar.gz |
merge
Diffstat (limited to 'innobase/include/trx0roll.h')
-rw-r--r-- | innobase/include/trx0roll.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/innobase/include/trx0roll.h b/innobase/include/trx0roll.h index aa88fc249fc..6004551f456 100644 --- a/innobase/include/trx0roll.h +++ b/innobase/include/trx0roll.h @@ -91,12 +91,16 @@ trx_undo_rec_release( /************************************************************************* Starts a rollback operation. */ -que_thr_t* +void trx_rollback( /*=========*/ - /* out: next query thread to run */ trx_t* trx, /* in: transaction */ - trx_sig_t* sig); /* in: signal starting the rollback */ + trx_sig_t* sig, /* in: signal starting the rollback */ + que_thr_t** next_thr);/* in/out: next query thread to run; + if the value which is passed in is + a pointer to a NULL pointer, then the + calling function can start running + a new query thread */ /*********************************************************************** Rollback or clean up transactions which have no user session. If the transaction already was committed, then we clean up a possible insert @@ -108,12 +112,17 @@ trx_rollback_or_clean_all_without_sess(void); /******************************************************************** Finishes a transaction rollback. */ -que_thr_t* +void trx_finish_rollback_off_kernel( /*===========================*/ - /* out: next query thread to run */ que_t* graph, /* in: undo graph which can now be freed */ - trx_t* trx); /* in: transaction */ + trx_t* trx, /* in: transaction */ + que_thr_t** next_thr);/* in/out: next query thread to run; + if the value which is passed in is + a pointer to a NULL pointer, then the + calling function can start running + a new query thread; if this parameter is + NULL, it is ignored */ /******************************************************************** Builds an undo 'query' graph for a transaction. The actual rollback is performed by executing this query graph like a query subprocedure call. |