diff options
author | thek@kpdesk.mysql.com <> | 2007-03-16 14:57:02 +0100 |
---|---|---|
committer | thek@kpdesk.mysql.com <> | 2007-03-16 14:57:02 +0100 |
commit | 218179269fab7227de9f1a603a4786f1120261e1 (patch) | |
tree | ae8ffb099aec21edea39f559150d8b7a203720a7 /mysql-test/t/skip_grants.test | |
parent | 122aed1991c2c5607d1ce4d76b9135a2761b9981 (diff) | |
download | mariadb-git-218179269fab7227de9f1a603a4786f1120261e1.tar.gz |
Bug#26807 "set global event_scheduler=1" and --skip-grant-tables crashes server
- Crash occured because Event engine is only initialized if
ACLs are used but not properly marked as disabled.
- The patch is to mark the Event engine as DISABLED if no ACLs
are used to avoid access of uninitialized variables.
Diffstat (limited to 'mysql-test/t/skip_grants.test')
-rw-r--r-- | mysql-test/t/skip_grants.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/skip_grants.test b/mysql-test/t/skip_grants.test index 6dda97fcf8a..c8ee3490552 100644 --- a/mysql-test/t/skip_grants.test +++ b/mysql-test/t/skip_grants.test @@ -108,3 +108,10 @@ DROP PROCEDURE p3; DROP FUNCTION f1; DROP FUNCTION f2; DROP FUNCTION f3; + +# +# Bug #26807 "set global event_scheduler=1" and --skip-grant-tables crashes server +# +--error ER_OPTION_PREVENTS_STATEMENT +set global event_scheduler=1; + |