mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
This commit is contained in:
@ -4370,7 +4370,16 @@ public:
|
||||
{
|
||||
main_lex.restore_set_statement_var();
|
||||
}
|
||||
|
||||
/* Copy relevant `stmt` transaction flags to `all` transaction. */
|
||||
void merge_unsafe_rollback_flags()
|
||||
{
|
||||
if (transaction.stmt.modified_non_trans_table)
|
||||
transaction.all.modified_non_trans_table= TRUE;
|
||||
transaction.all.m_unsafe_rollback_flags|=
|
||||
(transaction.stmt.m_unsafe_rollback_flags &
|
||||
(THD_TRANS::DID_WAIT | THD_TRANS::CREATED_TEMP_TABLE |
|
||||
THD_TRANS::DROPPED_TEMP_TABLE | THD_TRANS::DID_DDL));
|
||||
}
|
||||
/*
|
||||
Reset current_linfo
|
||||
Setting current_linfo to 0 needs to be done with LOCK_thread_count to
|
||||
|
Reference in New Issue
Block a user