diff --git a/mysql-test/r/trigger.result b/mysql-test/r/trigger.result index d0cd3ed969d..2c39711a724 100644 --- a/mysql-test/r/trigger.result +++ b/mysql-test/r/trigger.result @@ -951,6 +951,7 @@ insert into t2 select a, f2() from t1; load data infile '../std_data_ln/words.dat' into table t1 (a) set b:= f1(); drop function f1; drop function f2; +drop table t1, t2; create table t1(i int not null, j int not null, n numeric(15,2), primary key(i,j)); create table t2(i int not null, n numeric(15,2), primary key(i)); create trigger t1_ai after insert on t1 for each row diff --git a/mysql-test/t/trigger.test b/mysql-test/t/trigger.test index cacb4b43e4e..f13a94513b6 100644 --- a/mysql-test/t/trigger.test +++ b/mysql-test/t/trigger.test @@ -1113,6 +1113,7 @@ insert into t2 select a, f2() from t1; load data infile '../std_data_ln/words.dat' into table t1 (a) set b:= f1(); drop function f1; drop function f2; +drop table t1, t2; # # Test for bug #16021 "Wrong index given to function in trigger" which