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
68b52e0f
Commit
68b52e0f
authored
Feb 16, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/usr/local/bk/mysql-5.0
into mysql.com:/home/pem/work/mysql-5.0
parents
1f661756
0f466d04
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
1 deletion
+30
-1
mysql-test/r/sp.result
mysql-test/r/sp.result
+10
-0
mysql-test/t/sp.test
mysql-test/t/sp.test
+16
-0
sql/item.h
sql/item.h
+4
-1
No files found.
mysql-test/r/sp.result
View file @
68b52e0f
...
...
@@ -2059,6 +2059,16 @@ call bug6029()|
1136
drop procedure bug6029|
drop table t3|
drop procedure if exists bug8540|
create procedure bug8540()
begin
declare x int default 1;
select x as y, x+0 as z;
end|
call bug8540()|
y z
1 1
drop procedure bug8540|
drop table if exists fac|
create table fac (n int unsigned not null primary key, f bigint unsigned)|
drop procedure if exists ifac|
...
...
mysql-test/t/sp.test
View file @
68b52e0f
...
...
@@ -2520,6 +2520,22 @@ call bug6029()|
drop
procedure
bug6029
|
drop
table
t3
|
#
# BUG#8540: Local variable overrides an alias
#
--
disable_warnings
drop
procedure
if
exists
bug8540
|
--
enable_warnings
create
procedure
bug8540
()
begin
declare
x
int
default
1
;
select
x
as
y
,
x
+
0
as
z
;
end
|
call
bug8540
()
|
drop
procedure
bug8540
|
#
# Some "real" examples
...
...
sql/item.h
View file @
68b52e0f
...
...
@@ -460,6 +460,9 @@ class Item_splocal : public Item
{
Item
*
it
=
this_item
();
if
(
name
)
it
->
set_name
(
name
,
strlen
(
name
),
system_charset_info
);
else
it
->
set_name
(
m_name
.
str
,
m_name
.
length
,
system_charset_info
);
it
->
make_field
(
field
);
}
...
...
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