1. 01 Mar, 2006 5 commits
    • unknown's avatar
      fix for bug #16426, post fixes · a74427ef
      unknown authored
      
      mysql-test/r/events_slow_query.result:
        fix result
      mysql-test/t/events_slow_query.test:
        create different event because the executor is buggy and won't catch the difference if
        the memory address does not change (will be reported as bug separately)
      sql/sp_head.cc:
        this was an error which passed code review. thd->enable_slow_log could be
        changed and it should not be relied
      a74427ef
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 36ee1226
      unknown authored
      into lmy004.:/work/mysql-5.1-bug17494
      
      36ee1226
    • unknown's avatar
      fix for bug #16426 · 94663922
      unknown authored
      Events: Event-caused statements don't appear in the slow query log
      WL#1034
      
      
      sql/event_executor.cc:
        enable slow logging
      sql/event_timed.cc:
        enable slow logging for the anonymous SP
      sql/sp_head.cc:
        allow thd->enable_slow_log to be TRUE if only
        m_flags & sp_head::LOG_SLOW_STATEMENTS
        Because usually enable_slow_log is 1 in user mode, this second
        check is needed backup the mode otherwise.
      sql/sp_head.h:
        add a new constant for slow queries. SP by default does not log slow queries in the
        body just the whole CALL could be considered as slow if taking too much time and
        called directly from the user
      sql/sql_parse.cc:
        let us see in the the trace log
      94663922
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 9faf1ccc
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.1
      
      9faf1ccc
    • unknown's avatar
      Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0 · 577c3481
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.1
      
      
      mysql-test/t/mysqltest.test:
        Auto merged
      577c3481
  2. 28 Feb, 2006 35 commits