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
83703fcc
Commit
83703fcc
authored
Jun 14, 2004
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-merge
parents
8640403f
6fd6652b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
1 deletion
+27
-1
mysql-test/r/sp.result
mysql-test/r/sp.result
+12
-0
mysql-test/t/sp.test
mysql-test/t/sp.test
+13
-0
sql/sql_yacc.yy
sql/sql_yacc.yy
+2
-1
No files found.
mysql-test/r/sp.result
View file @
83703fcc
...
@@ -1360,6 +1360,18 @@ bug3132('Bob')
...
@@ -1360,6 +1360,18 @@ bug3132('Bob')
Hello, Bob!
Hello, Bob!
Hello, Judy!
Hello, Judy!
drop function bug3132|
drop function bug3132|
create procedure bug3843()
analyze table t1|
call bug3843()|
Table Op Msg_type Msg_text
test.t1 analyze status OK
call bug3843()|
Table Op Msg_type Msg_text
test.t1 analyze status Table is already up to date
select 1+2|
1+2
3
drop procedure bug3843|
drop table if exists fac|
drop table if exists fac|
create table fac (n int unsigned not null primary key, f bigint unsigned)|
create table fac (n int unsigned not null primary key, f bigint unsigned)|
create procedure ifac(n int unsigned)
create procedure ifac(n int unsigned)
...
...
mysql-test/t/sp.test
View file @
83703fcc
...
@@ -1560,6 +1560,19 @@ create function bug3132(s char(20)) returns char(50)
...
@@ -1560,6 +1560,19 @@ create function bug3132(s char(20)) returns char(50)
select
bug3132
(
'Bob'
)
union
all
select
bug3132
(
'Judy'
)
|
select
bug3132
(
'Bob'
)
union
all
select
bug3132
(
'Judy'
)
|
drop
function
bug3132
|
drop
function
bug3132
|
#
# BUG#3843
#
create
procedure
bug3843
()
analyze
table
t1
|
# Testing for packets out of order
call
bug3843
()
|
call
bug3843
()
|
select
1
+
2
|
drop
procedure
bug3843
|
#
#
# Some "real" examples
# Some "real" examples
...
...
sql/sql_yacc.yy
View file @
83703fcc
...
@@ -1601,7 +1601,8 @@ sp_proc_stmt:
...
@@ -1601,7 +1601,8 @@ sp_proc_stmt:
lex->sql_command == SQLCOM_SHOW_CREATE_PROC ||
lex->sql_command == SQLCOM_SHOW_CREATE_PROC ||
lex->sql_command == SQLCOM_SHOW_CREATE_FUNC ||
lex->sql_command == SQLCOM_SHOW_CREATE_FUNC ||
lex->sql_command == SQLCOM_SHOW_STATUS_PROC ||
lex->sql_command == SQLCOM_SHOW_STATUS_PROC ||
lex->sql_command == SQLCOM_SHOW_STATUS_FUNC)
lex->sql_command == SQLCOM_SHOW_STATUS_FUNC ||
lex->sql_command == SQLCOM_ANALYZE)
{
{
/* We maybe have one or more SELECT without INTO */
/* We maybe have one or more SELECT without INTO */
lex->sphead->m_multi_results= TRUE;
lex->sphead->m_multi_results= TRUE;
...
...
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