~mysql/mysql-server/mysql-6.0

« back to all changes in this revision

Viewing changes to mysql-test/suite/backup/t/backup_maria_other_instance.test

auto-merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
--source include/have_maria.inc
7
7
 
8
8
let $MARIA_LOG=.;
9
 
let $MYSQLD_DATADIR= `select @@datadir`;
 
9
let $MYSQLD_BACKUPDIR= `select @@backupdir`;
10
10
 
11
11
--disable_warnings
12
12
drop database if exists mysqltest;
13
13
--error 0,1
14
 
remove_file $MYSQLD_DATADIR/test.ba;
 
14
remove_file $MYSQLD_BACKUPDIR/test.ba;
15
15
--enable_warnings
16
16
create database mysqltest;
17
17
let $mms_tname=t;
44
44
flush table t1;
45
45
 
46
46
# Check that table is auto-zerofilled, movable
47
 
--exec $MARIA_CHK -dv $MYSQLD_DATADIR/mysqltest/t1 >$MYSQLTEST_VARDIR/tmp/mariachk.txt
 
47
--exec $MARIA_CHK -dv $MYSQLD_BACKUPDIR/mysqltest/t1 >$MYSQLTEST_VARDIR/tmp/mariachk.txt
48
48
perl;
49
49
    use strict;
50
50
    use warnings;
62
62
flush table t1;
63
63
 
64
64
# Check that table is not zerofilled, not movable
65
 
--exec $MARIA_CHK -dv $MYSQLD_DATADIR/mysqltest/t1 >$MYSQLTEST_VARDIR/tmp/mariachk.txt
 
65
--exec $MARIA_CHK -dv $MYSQLD_BACKUPDIR/mysqltest/t1 >$MYSQLTEST_VARDIR/tmp/mariachk.txt
66
66
perl;
67
67
    use strict;
68
68
    use warnings;
75
75
EOF
76
76
 
77
77
drop database mysqltest;
78
 
remove_file $MYSQLD_DATADIR/test.ba;
 
78
remove_file $MYSQLD_BACKUPDIR/test.ba;