summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorunknown <aivanov@mysql.com>2005-12-11 17:06:36 +0300
committerunknown <aivanov@mysql.com>2005-12-11 17:06:36 +0300
commita26e2c200910287fe3b4bd68930112ad378bd58e (patch)
tree7df7f3c9ef2edd375e3ce55862aa2eb5d7359f56 /mysql-test/r
parentf81ed05cdcad5723c986c580cfcf3ee5e22a385c (diff)
downloadmariadb-git-a26e2c200910287fe3b4bd68930112ad378bd58e.tar.gz
Fixed BUG #14614: Replication of tables with trigger generates
error message if database is changed. mysql-test/r/rpl_trigger.result: Fixed results for the added test cases mysql-test/t/rpl_trigger.test: Added test cases for bug #14614 sql/sql_db.cc: Fixed bug #14614. Modified mysql_change_db(): The memory where db name resides is freed by a slave thread.
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/rpl_trigger.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/rpl_trigger.result b/mysql-test/r/rpl_trigger.result
index 999af131b8b..7613f2547f0 100644
--- a/mysql-test/r/rpl_trigger.result
+++ b/mysql-test/r/rpl_trigger.result
@@ -122,3 +122,15 @@ a=b && a=c
1
drop function bug12480;
drop table t1;
+create table t1 (i int);
+create table t2 (i int);
+create trigger tr1 before insert on t1 for each row
+begin
+insert into t2 values (1);
+end|
+create database other;
+use other;
+insert into test.t1 values (1);
+use test;
+drop table t1,t2;
+drop database other;