mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge bb-10.2-ext into 10.3
This commit is contained in:
@@ -4374,7 +4374,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