summaryrefslogtreecommitdiff
path: root/mysql-test/r/ps_grant.result
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-06-16 23:05:38 +0400
committerunknown <konstantin@mysql.com>2005-06-16 23:05:38 +0400
commit51cd70da3dced6800ccf31a6c8e63040b73dbc84 (patch)
treea89920f2cf37b36335617d884e1b40bc38659393 /mysql-test/r/ps_grant.result
parentb0d82705d3b3f69b61038909e15c0d00d38f3150 (diff)
downloadmariadb-git-51cd70da3dced6800ccf31a6c8e63040b73dbc84.tar.gz
A fix for Bug#9141 "4.1 does not log into slow log
ALTER, OPTIMIZE and ANALYZE statements". In 4.1 we disabled logging of slow admin statements. The fix adds an option to enable it back. No test case (slow log is not tested in the test suite), but tested manually. + post-review fixes (word police mainly). sql/mysql_priv.h: - declaration for a new option sql/mysqld.cc: Add server option '--log-slow-admin-statements' to log slow optimize/alter/etc statements to the slow log if it's enabled. Add warnings that this option works only if the slow log is open. sql/sql_class.h: Rename 'thd->slow_command' to thd->enable_slow_log (negates the meaning of this variable, and so resolves the need to negate value opt_log_slow_admin_statements when setting it). sql/sql_parse.cc: Implement optional logging of administrative statements in the slow log.
Diffstat (limited to 'mysql-test/r/ps_grant.result')
0 files changed, 0 insertions, 0 deletions