mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -365,9 +365,14 @@ bool sequence_insert(THD *thd, LEX *lex, TABLE_LIST *org_table_list)
|
||||
|
||||
seq->reserved_until= seq->start;
|
||||
error= seq->write_initial_sequence(table);
|
||||
|
||||
if (trans_commit_stmt(thd))
|
||||
error= 1;
|
||||
{
|
||||
uint save_unsafe_rollback_flags=
|
||||
thd->transaction.stmt.m_unsafe_rollback_flags;
|
||||
if (trans_commit_stmt(thd))
|
||||
error= 1;
|
||||
thd->transaction.stmt.m_unsafe_rollback_flags=
|
||||
save_unsafe_rollback_flags;
|
||||
}
|
||||
if (trans_commit_implicit(thd))
|
||||
error= 1;
|
||||
|
||||
|
Reference in New Issue
Block a user