summaryrefslogtreecommitdiff
path: root/mysql-test/r/skip_grants.result
diff options
context:
space:
mode:
authorunknown <thek@kpdesk.mysql.com>2007-03-16 14:57:02 +0100
committerunknown <thek@kpdesk.mysql.com>2007-03-16 14:57:02 +0100
commit2b2fb67460475e60652730520d0a69675565f706 (patch)
treeae8ffb099aec21edea39f559150d8b7a203720a7 /mysql-test/r/skip_grants.result
parent469282461cb3ed1e0bd0b7bb9d4745eec5d6c58a (diff)
downloadmariadb-git-2b2fb67460475e60652730520d0a69675565f706.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. mysql-test/r/skip_grants.result: Added test case mysql-test/t/skip_grants.test: Added test case
Diffstat (limited to 'mysql-test/r/skip_grants.result')
-rw-r--r--mysql-test/r/skip_grants.result2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/skip_grants.result b/mysql-test/r/skip_grants.result
index 58ced16acac..9efeb56a837 100644
--- a/mysql-test/r/skip_grants.result
+++ b/mysql-test/r/skip_grants.result
@@ -58,3 +58,5 @@ DROP PROCEDURE p3;
DROP FUNCTION f1;
DROP FUNCTION f2;
DROP FUNCTION f3;
+set global event_scheduler=1;
+ERROR HY000: The MySQL server is running with the --event-scheduler=DISABLED or --skip-grant-tables option so it cannot execute this statement