![]() |
MySQL 9.0.0
Source Code Documentation
|
Class used to wait on the execution of some action. More...
#include <pipeline_interfaces.h>
Public Member Functions | |
Continuation () | |
~Continuation () | |
int | wait () |
Wait until release. More... | |
void | signal (int error=0, bool tran_discarded=false) |
Signal the continuation that execution can continue. More... | |
void | reset_error_code () |
Reset the error code after a reported error. More... | |
void | set_transation_discarded (bool discarded) |
Sets the value of the flag for discarded transactions. More... | |
bool | is_transaction_discarded () |
Says if a transaction was discarded or not. More... | |
Private Attributes | |
mysql_mutex_t | lock |
mysql_cond_t | cond |
bool | ready |
int | error_code |
bool | transaction_discarded |
Class used to wait on the execution of some action.
The class can also be used to report whenever a transaction is discarded as a result of execution.
|
inline |
|
inline |
|
inline |
Says if a transaction was discarded or not.
0 | not discarded |
!=0 | discarded |
|
inline |
Reset the error code after a reported error.
|
inline |
Sets the value of the flag for discarded transactions.
[in] | discarded | is the transaction discarded. |
|
inline |
Signal the continuation that execution can continue.
[in] | error | the error code if any |
[in] | tran_discarded | if the transaction to whom the event belongs was discarded |
|
inline |
Wait until release.
0 | OK |
!=0 | Error returned on the execution |
|
private |
|
private |
|
private |
|
private |
|
private |