Skip to content

Commit 1a28a87

Browse files
dssanjuprashanttekriwal
authored andcommitted
WL# 8478: Undo log speedup
MTR test case cleanup. Drop table using SQL query instead of ndb_drop_table. (cherry picked from commit adad49ad7d670f0917b02c19c09d60dbc479ee52)
1 parent daee532 commit 1a28a87

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

mysql-test/suite/ndb/r/ndb_parallel_undo_log.result

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ NDBT_ProgramExit: 0 - OK
2222

2323
"Wait reconnect"
2424
DROP TABLE dt_1;
25-
DROP TABLE IF EXISTS dt_2;
2625
ALTER TABLESPACE ts_1
2726
DROP DATAFILE 'data_2.dat'
2827
ENGINE NDBCLUSTER;

mysql-test/suite/ndb/t/ndb_parallel_undo_log.test

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ while($mysql_errno)
9191
UPDATE dt_1 SET member_id = 6 WHERE member_id = 5;
9292
}
9393
# UNDO_TUP_DROP
94-
--exec $NDB_DROP_TABLE -d test dt_2 >> $NDB_TOOLS_OUTPUT
94+
DROP TABLE dt_2;
9595
let $mysql_errno = ER_LOCK_WAIT_TIMEOUT;
9696

9797

@@ -140,14 +140,10 @@ DELETE FROM dt_1 WHERE member_id = 1;
140140
# cluster has been restored or timeout occurs
141141
#
142142
--echo "Wait reconnect"
143-
--disable_result_log
144143
--source include/ndb_not_readonly.inc
145-
--enable_result_log
146144

147145
# Cleanup
148146
DROP TABLE dt_1;
149-
# Drop dt_2 in mysqld as well
150-
DROP TABLE IF EXISTS dt_2;
151147

152148
ALTER TABLESPACE ts_1
153149
DROP DATAFILE 'data_2.dat'

0 commit comments

Comments
 (0)