summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp_trans_log.test
diff options
context:
space:
mode:
authorMatthias Leich <Matthias.Leich@sun.com>2009-04-28 20:12:18 +0200
committerMatthias Leich <Matthias.Leich@sun.com>2009-04-28 20:12:18 +0200
commit7cbc9173ac23348816b3e539068bfb4fa6b3fd51 (patch)
tree96609cc0f4acacb3f50993ddb3c158d4fb7cb442 /mysql-test/t/sp_trans_log.test
parent5e2fe847c6774c38652717ff103f14c1e442b4ca (diff)
downloadmariadb-git-7cbc9173ac23348816b3e539068bfb4fa6b3fd51.tar.gz
Fix for Bug#43546 Several 5.0 tests do not pass MTR's --check option
(moved from Bug 42308) Details: - insert_update Add DROP TABLE which was missing, error numbers -> names - varbinary Add DROP TABLE which was missing - sp_trans_log Add missing DROP function, improved formatting
Diffstat (limited to 'mysql-test/t/sp_trans_log.test')
-rw-r--r--mysql-test/t/sp_trans_log.test19
1 files changed, 14 insertions, 5 deletions
diff --git a/mysql-test/t/sp_trans_log.test b/mysql-test/t/sp_trans_log.test
index 93605722f6b..effa3ca80cf 100644
--- a/mysql-test/t/sp_trans_log.test
+++ b/mysql-test/t/sp_trans_log.test
@@ -4,11 +4,15 @@
delimiter |;
#
-# Bug #13270 INSERT,UPDATE,etc that calls func with side-effect does not binlog
-# Bug #23333 stored function + non-transac table + transac table =
-# breaks stmt-based binlog
-# Bug #27395 OPTION_STATUS_NO_TRANS_UPDATE is not preserved at the end of SF()
+# Bug#13270 INSERT,UPDATE,etc that calls func with side-effect does not binlog
+# Bug#23333 stored function + non-transac table + transac table =
+# breaks stmt-based binlog
+# Bug#27395 OPTION_STATUS_NO_TRANS_UPDATE is not preserved at the end of SF()
#
+--disable_warnings
+drop function if exists bug23333|
+drop table if exists t1,t2|
+--enable_warnings
CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM|
CREATE TABLE t2 (a int NOT NULL auto_increment, b int, PRIMARY KEY (a)) ENGINE=InnoDB|
@@ -29,5 +33,10 @@ insert into t2 values (bug23333(),1)|
--replace_column 2 # 5 # 6 #
show binlog events from 98 /* with fixes for #23333 will show there are 2 queries */|
select count(*),@a from t1 /* must be 1,1 */|
-drop table t1, t2|
+delimiter ;|
+
+# clean-up
+
+drop table t1,t2;
+drop function if exists bug23333;