summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp.test
diff options
context:
space:
mode:
authorunknown <kaa@kaamos.(none)>2008-02-17 15:07:41 +0300
committerunknown <kaa@kaamos.(none)>2008-02-17 15:07:41 +0300
commite31806674f134f456af312b62b981bf2735768e2 (patch)
treef5ec046e5ee62fa13aef53404367f0bcdebaf293 /mysql-test/t/sp.test
parent695865fee9566bc026858214e8717a8155505a5a (diff)
downloadmariadb-git-e31806674f134f456af312b62b981bf2735768e2.tar.gz
Post-merge fix.
Diffstat (limited to 'mysql-test/t/sp.test')
-rw-r--r--mysql-test/t/sp.test38
1 files changed, 19 insertions, 19 deletions
diff --git a/mysql-test/t/sp.test b/mysql-test/t/sp.test
index b9f5572864e..b9056d86d7e 100644
--- a/mysql-test/t/sp.test
+++ b/mysql-test/t/sp.test
@@ -7900,25 +7900,6 @@ DROP DATABASE db28318_a;
DROP DATABASE db28318_b;
use test;
---echo #
---echo # Bug#30787: Stored function ignores user defined alias.
---echo #
-use test;
---disable_warnings
-drop function if exists func30787;
---enable_warnings
-create table t1(f1 int);
-insert into t1 values(1),(2);
-delimiter |;
-create function func30787(p1 int) returns int
-begin
- return p1;
-end |
-delimiter ;|
-select (select func30787(f1)) as ttt from t1;
-drop function func30787;
-drop table t1;
-
###########################################################################
#
@@ -7996,6 +7977,25 @@ call proc_33618(20);
drop table t_33618;
drop procedure proc_33618;
+--echo #
+--echo # Bug#30787: Stored function ignores user defined alias.
+--echo #
+use test;
+--disable_warnings
+drop function if exists func30787;
+--enable_warnings
+create table t1(f1 int);
+insert into t1 values(1),(2);
+delimiter |;
+create function func30787(p1 int) returns int
+begin
+ return p1;
+end |
+delimiter ;|
+select (select func30787(f1)) as ttt from t1;
+drop function func30787;
+drop table t1;
+
###########################################################################
--echo # ------------------------------------------------------------------