diff options
author | Sven Sandberg <sven@mysql.com> | 2008-11-13 20:19:00 +0100 |
---|---|---|
committer | Sven Sandberg <sven@mysql.com> | 2008-11-13 20:19:00 +0100 |
commit | 78a3abeceda8f1f88336ab53d5489241aa4891fa (patch) | |
tree | d881394b59ab8bbf9dcac97d407836c0d13335c4 /mysql-test/t/partition.test | |
parent | 2618337eb6dbc8582c04d17f456b590ca8750dd7 (diff) | |
download | mariadb-git-78a3abeceda8f1f88336ab53d5489241aa4891fa.tar.gz |
BUG#38350: Many tests don't clean up after themselves on exit.
Problem: Many test cases don't clean up after themselves (fail
to drop tables or fail to reset variables). This implies that:
(1) check-testcase in the new mtr that currently lives in
5.1-rpl failed. (2) it may cause unexpected results in
subsequent tests.
Fix: make all tests clean up.
Also: cleaned away unnecessary output in rpl_packet.result
Also: fixed bug where rpl_log called RESET MASTER with a running
slave. This is not supposed to work.
Also: removed unnecessary code from rpl_stm_EE_err2 and made it
verify that an error occurred.
Also: removed unnecessary code from rpl_ndb_ctype_ucs2_def.
Diffstat (limited to 'mysql-test/t/partition.test')
-rw-r--r-- | mysql-test/t/partition.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index e8df2b01a94..efa7c5f4263 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -10,6 +10,8 @@ # --source include/have_partition.inc +SET @old_general_log= @@global.general_log; + --disable_warnings drop table if exists t1, t2; --enable_warnings @@ -1898,3 +1900,6 @@ select count(*) from t1; drop table t1; --echo End of 5.1 tests + + +SET @@global.general_log= @old_general_log; |