• Rohit Kalhans's avatar
    BUG#14005409 - 64624 · c64b88d6
    Rohit Kalhans authored
          
    Problem: After the fix for Bug#12589870, a new field that
    stores the length of db name was added in the buffer that
    stores the query to be executed. Unlike for the plain user
    session, the replication execution did not allocate the
    necessary chunk in Query-event constructor. This caused an
    invalid read while accessing this field.
          
    Solution: We fix this problem by allocating a necessary chunk
    in the buffer created in the Query_log_event::Query_log_event()
    and store the length of database name.
    c64b88d6
log_event.cc 313 KB