Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/sys_vars/t/ignore_db_dirs_basic.test |
-- source include/not_embedded.inc select @@ignore_db_dirs; let $MYSQLD_DATADIR= `select @@datadir`; mkdir $MYSQLD_DATADIR/.mysqlgui; mkdir $MYSQLD_DATADIR/.otherdir; mkdir $MYSQLD_DATADIR/lost+found; --echo # Check that SHOW DATABASES ignores all directories from --echo # @@ignore_db_dirs and all directories with names starting --echo # with '.' SHOW DATABASES; rmdir $MYSQLD_DATADIR/.mysqlgui; rmdir $MYSQLD_DATADIR/.otherdir; rmdir $MYSQLD_DATADIR/lost+found; --error ER_INCORRECT_GLOBAL_LOCAL_VAR SET @@global.ignore_db_dirs = 'aha'; --error ER_INCORRECT_GLOBAL_LOCAL_VAR SET @@local.ignore_db_dirs = 'aha'; --error ER_INCORRECT_GLOBAL_LOCAL_VAR SET @@ignore_db_dirs = 'aha';