summaryrefslogtreecommitdiff
path: root/sql/ha_sequence.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-05-11 14:05:52 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2023-05-11 14:05:52 +0300
commitcd5ca0b11882cfa8eafa8c687ed3084423bc7e52 (patch)
tree92045e255e18d9acbe7cd8385c64c9f1830db257 /sql/ha_sequence.cc
parent78a1264cfae37667a2812c5bb5cc6638d9eed5ff (diff)
parentc271057288f71746d1816824f338f2d9c47f67c1 (diff)
downloadmariadb-git-bb-10.6-MDEV-29911.tar.gz
Diffstat (limited to 'sql/ha_sequence.cc')
-rw-r--r--sql/ha_sequence.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_sequence.cc b/sql/ha_sequence.cc
index b348e6e7025..bab0614706d 100644
--- a/sql/ha_sequence.cc
+++ b/sql/ha_sequence.cc
@@ -250,6 +250,8 @@ int ha_sequence::write_row(const uchar *buf)
on master and slaves
- Check that the new row is an accurate SEQUENCE object
*/
+ /* mark a full binlog image insert to force non-parallel slave */
+ thd->transaction->stmt.mark_trans_did_ddl();
if (table->s->tmp_table == NO_TMP_TABLE &&
thd->mdl_context.upgrade_shared_lock(table->mdl_ticket,
MDL_EXCLUSIVE,