Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e3180667
Commit
e3180667
authored
Feb 17, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fix.
parent
695865fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
mysql-test/t/sp.test
mysql-test/t/sp.test
+19
-19
No files found.
mysql-test/t/sp.test
View file @
e3180667
...
...
@@ -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
# ------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment