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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5671fb90
Commit
5671fb90
authored
Feb 17, 2008
by
kaa@kaamos.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fix.
parent
5647dee1
Changes
1
Show 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 @
5671fb90
...
@@ -7900,25 +7900,6 @@ DROP DATABASE db28318_a;
...
@@ -7900,25 +7900,6 @@ DROP DATABASE db28318_a;
DROP DATABASE db28318_b;
DROP DATABASE db28318_b;
use test;
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);
...
@@ -7996,6 +7977,25 @@ call proc_33618(20);
drop
table
t_33618
;
drop
table
t_33618
;
drop
procedure
proc_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
# ------------------------------------------------------------------
--
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