• Andrei's avatar
    MDEV-27687 Assertion `!thd->rgi_fake || ... · 2b554116
    Andrei authored
    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.
    2b554116
log_event_server.cc 285 KB