diff options
author | Georgi Kodinov <joro@sun.com> | 2009-02-12 11:52:01 +0200 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-02-12 11:52:01 +0200 |
commit | ccca4feca8c4134ef00ca1acaba32ff553c4c947 (patch) | |
tree | 56ed03b2498008b29f1067508a635d28bb21c0e3 /mysql-test/t/windows.test | |
parent | b8149f09d6e6ebaa31ced521ba7a9a4eca71715c (diff) | |
parent | 7df0e72c7ffe41e50da38ff0730c2668156a9f48 (diff) | |
download | mariadb-git-ccca4feca8c4134ef00ca1acaba32ff553c4c947.tar.gz |
merged bug 33813 to 5.1-bugteam
Diffstat (limited to 'mysql-test/t/windows.test')
-rwxr-xr-x | mysql-test/t/windows.test | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mysql-test/t/windows.test b/mysql-test/t/windows.test index 6871caaa756..89cd2ed19e8 100755 --- a/mysql-test/t/windows.test +++ b/mysql-test/t/windows.test @@ -35,6 +35,37 @@ CREATE TABLE t1 (a int, b int); INSERT INTO t1 VALUES (1,1); EXPLAIN SELECT * FROM t1 WHERE b = (SELECT max(2)); DROP TABLE t1; +# +# Bug #33813: Schema names are case-sensitive in DROP FUNCTION +# + +CREATE DATABASE `TESTDB`; + +USE `TESTDB`; +DELIMITER //; + +CREATE FUNCTION test_fn() RETURNS INTEGER +BEGIN +DECLARE rId bigint; +RETURN rId; +END +// + +CREATE FUNCTION test_fn2() RETURNS INTEGER +BEGIN +DECLARE rId bigint; +RETURN rId; +END +// + +DELIMITER ;// + +DROP FUNCTION `TESTDB`.`test_fn`; +DROP FUNCTION `testdb`.`test_fn2`; + +USE test; +DROP DATABASE `TESTDB`; + --echo End of 5.0 tests. --disable_warnings |