• Sergei Golubchik's avatar
    cleanup: Log_event::read_log_event() · 5018a660
    Sergei Golubchik authored
    There are three Log_event::read_log_event() methods:
    1. read the event image from IO_CACHE into String
    2. create Log_event from the in-memory event image
    3. read the event image from IO_CACHE and create Log_event
    
    The 3rd was reading event image into memory and invoking the 2nd to
    create Log_event. Now the 3rd also uses the 1st to read the event image
    from IO_CACHE into memory, instead of duplicating its functionality.
    5018a660
rpl_utility.cc 36.8 KB