mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
remove few obscure, unused, or misused mtr features
This commit is contained in:
@ -13,8 +13,6 @@ INSERT INTO init_file.startup VALUES ( NOW() );
|
||||
SELECT * INTO @X FROM init_file.startup limit 0,1;
|
||||
SELECT * INTO @Y FROM init_file.startup limit 1,1;
|
||||
SELECT YEAR(@X)-YEAR(@Y);
|
||||
# Enable this DROP DATABASE only after resolving bug #42507
|
||||
DROP DATABASE init_file;
|
||||
|
||||
--echo ok
|
||||
--echo end of 4.1 tests
|
||||
@ -27,10 +25,13 @@ select * from t1;
|
||||
# Expected:
|
||||
# 30, 3, 11, 13
|
||||
select * from t2;
|
||||
# Enable this DROP TABLE only after resolving bug #42507
|
||||
drop table t1, t2;
|
||||
|
||||
# MTR will restart server anyway, but by forcing it we avoid being warned
|
||||
# about the apparent side effect
|
||||
#
|
||||
# we don't drop tables (t1, t2) and databases (init_file)
|
||||
# created by init-file script, because they existed when before-test
|
||||
# check was run, and if they won't exist after the test, after-test check
|
||||
# will complain.
|
||||
# But it's safe to keep them, because mysqld will be restarted after the
|
||||
# test (--init-file option) and datadir will be reinitialized.
|
||||
#
|
||||
|
||||
--source include/force_restart.inc
|
||||
|
Reference in New Issue
Block a user