2006-02-26 14:11:56 +01:00
|
|
|
#
|
|
|
|
# Test of partitions that require symlinks
|
|
|
|
#
|
2007-04-25 20:21:55 +02:00
|
|
|
--source include/have_partition.inc
|
|
|
|
--source include/have_symlink.inc
|
2006-02-26 14:11:56 +01:00
|
|
|
|
2006-09-01 08:12:30 +02:00
|
|
|
#
|
|
|
|
# This test is disabled on windows due to BUG#19107
|
|
|
|
#
|
2007-04-25 20:21:55 +02:00
|
|
|
--source include/not_windows.inc
|
2006-02-26 14:11:56 +01:00
|
|
|
#
|
|
|
|
# BUG: 14354 Partitions: data directory clause fails
|
|
|
|
#
|
|
|
|
--system rm -rf $MYSQLTEST_VARDIR/tmp/bug14354
|
|
|
|
--system mkdir $MYSQLTEST_VARDIR/tmp/bug14354
|
|
|
|
disable_query_log;
|
|
|
|
eval CREATE TABLE t1 (id int) PARTITION BY RANGE(id) (
|
2006-05-28 14:51:01 +02:00
|
|
|
PARTITION p1 VALUES LESS THAN (20) ENGINE=myisam
|
2006-02-26 14:11:56 +01:00
|
|
|
DATA DIRECTORY="$MYSQLTEST_VARDIR/tmp/bug14354"
|
|
|
|
INDEX DIRECTORY="$MYSQLTEST_VARDIR/tmp/bug14354");
|
|
|
|
enable_query_log;
|
|
|
|
INSERT INTO t1 VALUES (15);
|
|
|
|
--system test -f $MYSQLTEST_VARDIR/tmp/bug14354/t1#P#p1.MYD
|
|
|
|
--system test -f $MYSQLTEST_VARDIR/tmp/bug14354/t1#P#p1.MYI
|
|
|
|
DROP TABLE t1;
|
|
|
|
--system rm -rf $MYSQLTEST_VARDIR/tmp/bug14354
|