• Andrei Elkin's avatar
    MDEV-23832 Crash at startup in Log_event::read_log_event · 65c632cb
    Andrei Elkin authored
    The crash was caused by improper raising of an error or replication checksum
    verification at time of the server initialization. As there is no THD object
    associated with the main initializing thread yet the error text should be
    assigned with calling a respective macro that is aware of that possibility.
    
    Fixed accordingly.
    
    [At merging to 10.4 the new test result file needs
     +# restart: --master_verify_checksum=ON --debug_dbug=+d,corrupt_read_log_event_char
    that mtr run will hint on.]
    65c632cb
binlog_recover_checksum_error.test 1.21 KB