summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorunknown <gluh@eagle.intranet.mysql.r18.ru>2006-01-24 15:59:08 +0400
committerunknown <gluh@eagle.intranet.mysql.r18.ru>2006-01-24 15:59:08 +0400
commitd108392c69fd9f3828c34e1ca175a7f4cf287abe (patch)
tree26fbb68766c042b22a44a8c08ca1364dad639749 /mysql-test/t
parent8f90403127a715e3511a26f078a69c17faa13726 (diff)
downloadmariadb-git-d108392c69fd9f3828c34e1ca175a7f4cf287abe.tar.gz
Fix for bug#15851 Unlistable directories yield no info from information_schema
to skip directories which are not allowed for read mysql-test/r/information_schema.result: Fix for bug#15851 Unlistable directories yield no info from information_schema test result mysql-test/t/information_schema.test: Fix for bug#15851 Unlistable directories yield no info from information_schema test case
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/information_schema.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/information_schema.test b/mysql-test/t/information_schema.test
index f835a7148a2..323c6b37059 100644
--- a/mysql-test/t/information_schema.test
+++ b/mysql-test/t/information_schema.test
@@ -790,3 +790,13 @@ DROP TABLE t1;
DROP VIEW v1;
DROP FUNCTION func1;
DROP FUNCTION func2;
+
+#
+# Bug #15851 Unlistable directories yield no info from information_schema
+#
+create database mysqltest;
+create table mysqltest.t1(a int);
+--exec chmod -r $MYSQL_TEST_DIR/var/master-data/mysqltest
+select table_schema from information_schema.tables where table_schema='mysqltest';
+--exec chmod +r $MYSQL_TEST_DIR/var/master-data/mysqltest
+drop database mysqltest;