For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:33
static int flags[50]
Definition: hp_test1.cc:39
Some integer typedefs for easier portability.
case opt name
Definition: sslopt-case.h:32
Definition: mysql_lex_string.h:34
bool trans_rollback(THD *thd)
Rollback the current transaction, canceling its changes.
Definition: transaction.cc:394
void trans_track_end_trx(THD *thd)
Helper: Tell tracker (if any) that transaction ended.
Definition: transaction.cc:62
void trans_reset_one_shot_chistics(THD *thd)
Helper: transaction ended, SET TRANSACTION one-shot variables revert to session values.
Definition: transaction.cc:71
bool trans_check_state(THD *thd)
Check if we have a condition where the transaction state must not be changed (committed or rolled bac...
Definition: transaction.cc:92
bool trans_rollback_stmt(THD *thd)
Rollback the single statement transaction.
Definition: transaction.cc:558
bool trans_commit_attachable(THD *thd)
Commit the attachable transaction.
Definition: transaction.cc:637
bool trans_commit_stmt(THD *thd, bool ignore_global_read_lock=false)
Commit the single statement transaction.
Definition: transaction.cc:512
bool trans_rollback_implicit(THD *thd)
Implicitly rollback the current transaction, typically after deadlock was discovered.
Definition: transaction.cc:449
bool trans_commit_implicit(THD *thd, bool ignore_global_read_lock=false)
Implicitly commit the current transaction.
Definition: transaction.cc:318
bool trans_release_savepoint(THD *thd, LEX_STRING name)
Remove the named savepoint from the set of savepoints of the current transaction.
Definition: transaction.cc:833
bool trans_commit(THD *thd, bool ignore_global_read_lock=false)
Commit the current transaction, making its changes permanent.
Definition: transaction.cc:232
bool trans_savepoint(THD *thd, LEX_STRING name)
Set a named transaction savepoint.
Definition: transaction.cc:689
bool trans_rollback_to_savepoint(THD *thd, LEX_STRING name)
Rollback a transaction to the named savepoint.
Definition: transaction.cc:765
bool trans_begin(THD *thd, uint flags=0)
Begin a new transaction.
Definition: transaction.cc:124
unsigned int uint
Definition: uca9-dump.cc:74