• Davi Arnaut's avatar
    Bug#57058: SERVER_QUERY_WAS_SLOW not wired up. · 247a696d
    Davi Arnaut authored
    Finalize the server flags after any kind of command is executed.
    To avoid updating the flag multiple times, reorganize code so that
    its invoked only once for each command.
    
    sql/log_event.cc:
      Explicit update after the query is executed in the slave.
    sql/sql_parse.cc:
      Reorganize so that the status flag is updated for any command and
      not done twice for a query command.
    247a696d
log_event.cc 313 KB