MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/share/mysql-test/t/partition_mgm_err2.test
#
# Test of partitions that require symlinks
#
--source include/have_partition.inc
--source include/have_symlink.inc

#
# This test is disabled on windows due to BUG#19107
#
--source include/not_windows.inc
#
# BUG: 14354 Partitions: data directory clause fails
#
--error 0,1
--remove_files_wildcard $MYSQLTEST_VARDIR/tmp/bug14354
--mkdir $MYSQLTEST_VARDIR/tmp/bug14354
disable_query_log;
eval CREATE TABLE t1 (id int) PARTITION BY RANGE(id) (
PARTITION p1 VALUES LESS THAN (20) ENGINE=myisam
DATA DIRECTORY="$MYSQLTEST_VARDIR/tmp/bug14354"
INDEX DIRECTORY="$MYSQLTEST_VARDIR/tmp/bug14354");
enable_query_log;
INSERT INTO t1 VALUES (15);
--file_exists $MYSQLTEST_VARDIR/tmp/bug14354/t1#P#p1.MYD
--file_exists $MYSQLTEST_VARDIR/tmp/bug14354/t1#P#p1.MYI
DROP TABLE t1;
--remove_files_wildcard $MYSQLTEST_VARDIR/tmp/bug14354
--rmdir $MYSQLTEST_VARDIR/tmp/bug14354