~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to mysql-test/t/partition_mgm_err2.test

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Test of partitions that require symlinks
 
3
#
 
4
--source include/have_partition.inc
 
5
--source include/have_symlink.inc
 
6
 
 
7
#
 
8
# This test is disabled on windows due to BUG#19107
 
9
#
 
10
--source include/not_windows.inc
 
11
#
 
12
# BUG: 14354 Partitions: data directory clause fails
 
13
#
 
14
--system rm -rf $MYSQLTEST_VARDIR/tmp/bug14354
 
15
--system mkdir $MYSQLTEST_VARDIR/tmp/bug14354
 
16
disable_query_log;
 
17
eval CREATE TABLE t1 (id int) PARTITION BY RANGE(id) (
 
18
PARTITION p1 VALUES LESS THAN (20) ENGINE=myisam
 
19
DATA DIRECTORY="$MYSQLTEST_VARDIR/tmp/bug14354"
 
20
INDEX DIRECTORY="$MYSQLTEST_VARDIR/tmp/bug14354");
 
21
enable_query_log;
 
22
INSERT INTO t1 VALUES (15);
 
23
--system test -f $MYSQLTEST_VARDIR/tmp/bug14354/t1#P#p1.MYD
 
24
--system test -f $MYSQLTEST_VARDIR/tmp/bug14354/t1#P#p1.MYI
 
25
DROP TABLE t1;
 
26
--system rm -rf $MYSQLTEST_VARDIR/tmp/bug14354