• Davi Arnaut's avatar
    Bug#43587: Putting event_scheduler=1 in init SQL file crashes · 97ff334b
    Davi Arnaut authored
    mysqld
    
    The problem was that enabling the event scheduler inside a init
    file caused the server to crash upon start-up. The crash occurred
    because the event scheduler wasn't being initialized before the
    commands in the init-file are processed.
    
    The solution is to initialize the event scheduler before the init
    file is read. The patch also disables the event scheduler during
    bootstrap and makes the bootstrap operation robust in the
    presence of background threads.
    97ff334b
event_scheduler.cc 20.7 KB