summaryrefslogtreecommitdiff
path: root/mysql-test/r/skip_grants.result
diff options
context:
space:
mode:
authorunknown <gluh@mysql.com/eagle.(none)>2007-03-16 12:15:51 +0400
committerunknown <gluh@mysql.com/eagle.(none)>2007-03-16 12:15:51 +0400
commita51b7686000d01d488617b59f543b0cff5e223bb (patch)
treee73d5f2892a4f07c1cff856f7f8bd812f9f9ff33 /mysql-test/r/skip_grants.result
parentc6ab94bdf17340a57ec1f4575c644f27117b11cf (diff)
downloadmariadb-git-a51b7686000d01d488617b59f543b0cff5e223bb.tar.gz
Bug#26285 selecting information_schema crahes server
The crash happens when 'skip-grant-tables' is enabled. We skip the filling of I_S privilege tables if acl_cache is not initialized. mysql-test/r/skip_grants.result: test result mysql-test/t/skip_grants.test: test case sql/sql_acl.cc: skip filling of I_S privilege tables if acl_cache is not initialized
Diffstat (limited to 'mysql-test/r/skip_grants.result')
-rw-r--r--mysql-test/r/skip_grants.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/skip_grants.result b/mysql-test/r/skip_grants.result
index 58ced16acac..3052bae8e97 100644
--- a/mysql-test/r/skip_grants.result
+++ b/mysql-test/r/skip_grants.result
@@ -58,3 +58,15 @@ DROP PROCEDURE p3;
DROP FUNCTION f1;
DROP FUNCTION f2;
DROP FUNCTION f3;
+select count(*) from information_schema.COLUMN_PRIVILEGES;
+count(*)
+0
+select count(*) from information_schema.SCHEMA_PRIVILEGES;
+count(*)
+0
+select count(*) from information_schema.TABLE_PRIVILEGES;
+count(*)
+0
+select count(*) from information_schema.USER_PRIVILEGES;
+count(*)
+0