mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Create 'main' test directory and move 't' and 'r' there
This commit is contained in:
26
mysql-test/main/partition_mgm_err2.test
Normal file
26
mysql-test/main/partition_mgm_err2.test
Normal file
@ -0,0 +1,26 @@
|
||||
#
|
||||
# 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
|
||||
#
|
||||
--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) (
|
||||
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);
|
||||
--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
|
Reference in New Issue
Block a user