diff options
author | Andrei <andrei.elkin@mariadb.com> | 2022-01-17 14:46:09 +0200 |
---|---|---|
committer | Andrei <andrei.elkin@mariadb.com> | 2022-01-17 14:46:09 +0200 |
commit | dd555ef1f849c77e7547dc8f41978b86318aa66a (patch) | |
tree | 6fafa625fc93ceec769439cbaae83e46c11237d4 | |
parent | 9e5ea2ef4a9e38748a025ac0e8c03d6a5c737376 (diff) | |
download | mariadb-git-dd555ef1f849c77e7547dc8f41978b86318aa66a.tar.gz |
Fixed
Assertion `rgi->gtid_ev_flags_extra & Gtid_log_event::FL_COMMIT_ALTER_E1'
that unexectedly met RA which still was harmless.
Instead of the assert arg extending RA execution gets cut short
into binlogging, so the original assert indeed must not see RA
coming it anymore.
-rw-r--r-- | sql/log_event_server.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/log_event_server.cc b/sql/log_event_server.cc index 3178aac8915..b5fe48579bf 100644 --- a/sql/log_event_server.cc +++ b/sql/log_event_server.cc @@ -1803,7 +1803,8 @@ int Query_log_event::handle_split_alter_query_log_event(rpl_group_info *rgi, if (info->direct_commit_alter) { rgi->direct_commit_alter= true; // execute the query as if there was no SA - goto cleanup; + if (is_CA) + goto cleanup; } write_binlog: |