diff --git a/mysql-test/r/sp.result b/mysql-test/r/sp.result index 4321cd92826..3103174cf2e 100644 --- a/mysql-test/r/sp.result +++ b/mysql-test/r/sp.result @@ -6206,5 +6206,6 @@ id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t1 index NULL c1 5 NULL 5 Using where; Using index DROP VIEW v1; DROP FUNCTION f1; +DROP FUNCTION f2; DROP TABLE t1; End of 5.0 tests diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test index aeb85ac6012..22615c1cb28 100644 --- a/mysql-test/t/sp.test +++ b/mysql-test/t/sp.test @@ -7163,6 +7163,7 @@ EXPLAIN SELECT * FROM t1 WHERE c1=f2(rand()); DROP VIEW v1; DROP FUNCTION f1; +DROP FUNCTION f2; DROP TABLE t1; --echo End of 5.0 tests