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
58f76a03
Commit
58f76a03
authored
Jan 20, 2008
by
anozdrin/alik@ibm
Browse files
Options
Browse Files
Download
Plain Diff
Merge ibm.:/home/alik/Documents/MySQL/devel/5.0-rt
into ibm.:/home/alik/Documents/MySQL/devel/5.1-rt-merged-5.0-rt
parents
baf5f738
3cd05f00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
+31
-2
mysql-test/t/sp.test
mysql-test/t/sp.test
+31
-2
No files found.
mysql-test/t/sp.test
View file @
58f76a03
...
@@ -7902,7 +7902,34 @@ use test;
...
@@ -7902,7 +7902,34 @@ use test;
###########################################################################
###########################################################################
--
echo
End
of
5.0
tests
#
# Bug#29770 Two handlers are allowed to catch an error in an stored procedure.
#
--
disable_warnings
DROP
TABLE
IF
EXISTS
t1
;
DROP
PROCEDURE
IF
EXISTS
bug29770
;
--
enable_warnings
CREATE
TABLE
t1
(
a
int
);
delimiter
|
;
CREATE
PROCEDURE
bug29770
()
BEGIN
DECLARE
CONTINUE
HANDLER
FOR
SQLSTATE
'42S22'
SET
@
state
:=
'run'
;
DECLARE
CONTINUE
HANDLER
FOR
SQLEXCEPTION
SET
@
exception
:=
'run'
;
SELECT
x
FROM
t1
;
END
|
delimiter
;
|
CALL
bug29770
();
SELECT
@
state
,
@
exception
;
DROP
TABLE
t1
;
DROP
PROCEDURE
bug29770
;
###########################################################################
--
echo
# ------------------------------------------------------------------
--
echo
# -- End of 5.0 tests
--
echo
# ------------------------------------------------------------------
###########################################################################
###########################################################################
...
@@ -8056,4 +8083,6 @@ DROP FUNCTION f1;
...
@@ -8056,4 +8083,6 @@ DROP FUNCTION f1;
###########################################################################
###########################################################################
--
echo
End
of
5.1
tests
--
echo
# ------------------------------------------------------------------
--
echo
# -- End of 5.1 tests
--
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