2006-05-04 17:47:25 +02:00
|
|
|
#
|
|
|
|
# Due to "Bug#18474 Unlistable directories yield no info from
|
|
|
|
# information_schema, part2" this test can't be run on Window with our
|
|
|
|
# current test framework. When "chmod -r" is done within cygwin the
|
|
|
|
# MySQL Server can still read the directory.
|
|
|
|
# Manual testing shows the functionalty to skip unlistable directories
|
|
|
|
# works on windows
|
|
|
|
#
|
|
|
|
--source include/not_windows.inc
|
|
|
|
|
2006-05-23 10:52:53 +02:00
|
|
|
# This test uses chmod, can't be run with root permissions
|
|
|
|
-- source include/not_as_root.inc
|
|
|
|
|
2006-05-04 17:47:25 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Bug #15851 Unlistable directories yield no info from information_schema
|
|
|
|
#
|
|
|
|
create database mysqltest;
|
|
|
|
create table mysqltest.t1(a int);
|
2006-12-22 00:38:34 +01:00
|
|
|
chmod 0000 $MYSQLTEST_VARDIR/master-data/mysqltest;
|
2006-05-04 17:47:25 +02:00
|
|
|
select table_schema from information_schema.tables where table_schema='mysqltest';
|
2006-12-22 00:38:34 +01:00
|
|
|
exec chmod 0777 $MYSQLTEST_VARDIR/master-data/mysqltest;
|
2006-05-04 17:47:25 +02:00
|
|
|
drop database mysqltest;
|