2
# Due to "Bug#18474 Unlistable directories yield no info from
3
# information_schema, part2" this test can't be run on Window with our
4
# current test framework. When "chmod -r" is done within cygwin the
5
# MySQL Server can still read the directory.
6
# Manual testing shows the functionalty to skip unlistable directories
9
--source include/not_windows.inc
11
# This test uses chmod, can't be run with root permissions
12
-- source include/not_as_root.inc
16
# Bug #15851 Unlistable directories yield no info from information_schema
18
create database mysqltest;
19
create table mysqltest.t1(a int);
20
let $MYSQLD_DATADIR= `select @@datadir`;
21
chmod 0000 $MYSQLD_DATADIR/mysqltest;
22
select table_schema from information_schema.tables where table_schema='mysqltest';
23
chmod 0777 $MYSQLD_DATADIR/mysqltest;
24
drop database mysqltest;