summaryrefslogtreecommitdiff
path: root/sql/log_event_server.cc
diff options
context:
space:
mode:
authorAndrei <andrei.elkin@mariadb.com>2022-02-01 17:12:05 +0200
committerAndrei <andrei.elkin@mariadb.com>2022-02-01 17:12:05 +0200
commit2b55411673e5829deabdffd897d199644f451f5b (patch)
tree16602265f23da283cedd2bf3c9a0a9475e6c6b65 /sql/log_event_server.cc
parentfe2d90cca9fd0efd5d0eceda411ae80bbf12a830 (diff)
downloadmariadb-git-2b55411673e5829deabdffd897d199644f451f5b.tar.gz
MDEV-27687 Assertion `!thd->rgi_fake || ...
The added by MDEV-11675 assert is incorrected assuming a replayed from binlog transaction can't contain invoke a FD event's apply method. In fact it can do that through BINLOG event. The test case like BEGIN; INSERT INTO t1 VALUES(10); BINLOG ' SOgWTg8BAAAAbgAAAHIAAAAAAAQANS42LjMtbTUtZGVidWctbG9nAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAABI6BZOEzgNAAgAEgAEBAQEEgAAVgAEGggAAAAICAgCAAAAAAVAYI8='; is provided (by yet to merged atm) MDEV-27536 fixes. The assert is removed.
Diffstat (limited to 'sql/log_event_server.cc')
-rw-r--r--sql/log_event_server.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/log_event_server.cc b/sql/log_event_server.cc
index ca988354205..c8b206af668 100644
--- a/sql/log_event_server.cc
+++ b/sql/log_event_server.cc
@@ -2710,7 +2710,6 @@ int Format_description_log_event::do_apply_event(rpl_group_info *rgi)
rgi->cleanup_context(thd, 1);
}
}
- DBUG_ASSERT(!thd->rgi_fake || !thd->transaction->all.ha_list);
/*
If this event comes from ourselves, there is no cleaning task to