1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Make it possible to run mysql-test-run.pl with default test suite in different vardir.

This commit is contained in:
msvensson@neptunus.(none)
2006-01-24 08:30:54 +01:00
parent 8dce5e198d
commit 09ec2919a1
82 changed files with 459 additions and 404 deletions

View File

@@ -24,7 +24,8 @@ select * into outfile 'rpl_misc_functions.outfile' from t1;
sync_slave_with_master;
create table t2 like t1;
# read the values from the master table
load data local infile './var/master-data/test/rpl_misc_functions.outfile' into table t2;
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
eval load data local infile '$MYSQLTEST_VARDIR/master-data/test/rpl_misc_functions.outfile' into table t2;
# compare them with the replica; the SELECT below should return no row
select * from t1, t2 where (t1.id=t2.id) and not(t1.i=t2.i and t1.r1=t2.r1 and t1.r2=t2.r2 and t1.p=t2.p);
stop slave;