• unknown's avatar
    Log each slow query in a multi-statement query to the slow query log. · ae9166cd
    unknown authored
    (Bug #8475)
    
    
    sql/sql_parse.cc:
      Reset the start time before each statement before each statement in
      a multi-statement query, and check whether each statement should
      be logged to the slow query log independently.
    mysql-test/r/multi_statement.result:
      Add new results
    mysql-test/t/multi_statement.test:
      Add new regression test
    ae9166cd
multi_statement.test 678 Bytes