mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Remove files that tests leave behind
mysql-test/t/ndb_alter_table.test: Remove file that the test leaves behind mysql-test/t/partition.test: Remove file that the other tests leaves behind mysql-test/t/rpl_ndb_bank.test: Remove file that the test leaves behind mysql-test/t/rpl_ndb_dd_advance.test: Remove file that the test leaves behind
This commit is contained in:
@@ -389,6 +389,7 @@ drop index i1 on t1;
|
||||
--disable_warnings
|
||||
--exec $NDB_TOOLS_DIR/ndb_show_tables --p > $MYSQLTEST_VARDIR/master-data/test/tmp.dat
|
||||
LOAD DATA INFILE 'tmp.dat' INTO TABLE ndb_show_tables;
|
||||
--exec rm $MYSQLTEST_VARDIR/master-data/test/tmp.dat || true
|
||||
--enable_warnings
|
||||
|
||||
select 'no_copy' from ndb_show_tables where id = @t1_id and name like '%t1%';
|
||||
|
@@ -7,6 +7,7 @@
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
--exec rm $MYSQLTEST_VARDIR/test/db.opt || true
|
||||
--enable_warnings
|
||||
|
||||
#
|
||||
|
@@ -121,6 +121,7 @@ RESET MASTER;
|
||||
CREATE TABLE IF NOT EXISTS cluster.backup_info (id INT, backup_id INT) ENGINE = HEAP;
|
||||
DELETE FROM cluster.backup_info;
|
||||
LOAD DATA INFILE '../tmp.dat' INTO TABLE cluster.backup_info FIELDS TERMINATED BY ',';
|
||||
--exec rm $MYSQLTEST_VARDIR/tmp.dat || true
|
||||
--replace_column 1 <the_backup_id>
|
||||
SELECT @the_backup_id:=backup_id FROM cluster.backup_info;
|
||||
let the_backup_id=`select @the_backup_id`;
|
||||
|
@@ -441,7 +441,7 @@ CREATE TEMPORARY TABLE IF NOT EXISTS cluster.backup_info (id INT, backup_id INT)
|
||||
DELETE FROM cluster.backup_info;
|
||||
|
||||
LOAD DATA INFILE '../tmp.dat' INTO TABLE cluster.backup_info FIELDS TERMINATED BY ',';
|
||||
|
||||
--exec rm $MYSQLTEST_VARDIR/tmp.dat || true
|
||||
--replace_column 1 <the_backup_id>
|
||||
|
||||
SELECT @the_backup_id:=backup_id FROM cluster.backup_info;
|
||||
|
Reference in New Issue
Block a user