• Sergey Glukhov's avatar
    Bug#41131 "Questions" fails to increment - ignores statements instead stored procs(5.0 ver) · 3b617acb
    Sergey Glukhov authored
    Added global status variable 'Queries' which represents
    total amount of queries executed by server including
    statements executed by SPs.
    note: It's old behaviour of 'Questions' variable.
    
    
    mysql-test/r/status.result:
      test result
    mysql-test/t/status.test:
      test case
    sql/mysqld.cc:
      Added global status variable 'Queries' which represents
      total amount of queries executed by server including
      statements executed by SPs.
      note: It's old behaviour of 'Questions' variable.
    sql/sql_show.cc:
      Added global status variable 'Queries' which represents
      total amount of queries executed by server including
      statements executed by SPs.
      note: It's old behaviour of 'Questions' variable.
    sql/structs.h:
      Added global status variable 'Queries' which represents
      total amount of queries executed by server including
      statements executed by SPs.
      note: It's old behaviour of 'Questions' variable.
    3b617acb
mysqld.cc 289 KB