• Marko Mäkelä's avatar
    MDEV-11675 fixup: GCC -Og -Wmaybe-uninitialized · 12f29a4b
    Marko Mäkelä authored
    save_restore_context_apply_event(): Because compilers cannot infer
    that ev->apply_event(rgi) will not affect ev->get_type_code(),
    let us test that condition only once and allow the compiler to
    emit a tail call.
    
    Also, replace a goto with an early return for error handling.
    12f29a4b
sql_binlog.cc 14.2 KB