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
d7edf978
Commit
d7edf978
authored
Apr 17, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fixes.
parent
36752387
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
19 deletions
+19
-19
mysql-test/r/sp-error.result
mysql-test/r/sp-error.result
+1
-1
mysql-test/r/variables.result
mysql-test/r/variables.result
+1
-1
mysql-test/t/sp-error.test
mysql-test/t/sp-error.test
+17
-17
No files found.
mysql-test/r/sp-error.result
View file @
d7edf978
...
...
@@ -27,7 +27,7 @@ call foo();
PROCEDURE foo does not exist
drop procedure if exists foo;
Warnings:
Warning 12
57
PROCEDURE foo does not exist
Warning 12
61
PROCEDURE foo does not exist
create procedure foo()
foo: loop
leave bar;
...
...
mysql-test/r/variables.result
View file @
d7edf978
...
...
@@ -286,7 +286,7 @@ set sql_log_bin=1;
set sql_log_off=1;
set sql_log_update=1;
Warnings:
Note 12
67
The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored.
Note 12
71
The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored.
set sql_low_priority_updates=1;
set sql_max_join_size=200;
select @@sql_max_join_size,@@max_join_size;
...
...
mysql-test/t/sp-error.test
View file @
d7edf978
...
...
@@ -22,48 +22,48 @@ create function func1() returns int
return
42
|
# Can't create recursively
--
error
125
5
--
error
125
9
create
procedure
foo
()
create
procedure
bar
()
set
@
x
=
3
|
--
error
125
5
--
error
125
9
create
procedure
foo
()
create
function
bar
()
returns
double
return
2.3
|
# Already exists
--
error
12
56
--
error
12
60
create
procedure
proc1
()
set
@
x
=
42
|
--
error
12
56
--
error
12
60
create
function
func1
()
returns
int
return
42
|
# Does not exist
--
error
12
57
--
error
12
61
alter
procedure
foo
|
--
error
12
57
--
error
12
61
alter
function
foo
|
--
error
12
57
--
error
12
61
drop
procedure
foo
|
--
error
12
57
--
error
12
61
drop
function
foo
|
--
error
12
57
--
error
12
61
call
foo
()
|
drop
procedure
if
exists
foo
|
# LEAVE/ITERATE with no match
--
error
126
0
--
error
126
4
create
procedure
foo
()
foo
:
loop
leave
bar
;
end
loop
|
--
error
126
0
--
error
126
4
create
procedure
foo
()
foo
:
loop
iterate
bar
;
end
loop
|
# Redefining label
--
error
126
1
--
error
126
5
create
procedure
foo
()
foo
:
loop
foo
:
loop
...
...
@@ -72,14 +72,14 @@ foo: loop
end
loop
foo
|
# End label mismatch
--
error
126
2
--
error
126
6
create
procedure
foo
()
foo
:
loop
set
@
x
=
2
;
end
loop
bar
|
# Referring to undef variable
--
error
126
3
--
error
126
7
create
procedure
foo
(
out
x
int
)
begin
declare
y
int
;
...
...
@@ -87,17 +87,17 @@ begin
end
|
# We require INTO in SELECTs (for now; this might change in the future)
--
error
126
4
--
error
126
8
create
procedure
foo
(
x
int
)
select
*
from
test
.
t1
|
# RETURN in FUNCTION only
--
error
126
5
--
error
126
9
create
procedure
foo
()
return
42
|
# Doesn't allow queries in FUNCTIONs (for now :-( )
--
error
12
66
--
error
12
70
create
function
foo
()
returns
int
begin
declare
x
int
;
...
...
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