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
160f5fa5
Commit
160f5fa5
authored
Oct 12, 2006
by
kroki/tomash@moonlight.intranet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix after manual merge.
parent
813431e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
31 deletions
+34
-31
mysql-test/r/sp-error.result
mysql-test/r/sp-error.result
+4
-4
mysql-test/t/sp-error.test
mysql-test/t/sp-error.test
+30
-27
No files found.
mysql-test/r/sp-error.result
View file @
160f5fa5
...
@@ -1258,9 +1258,9 @@ show authors;
...
@@ -1258,9 +1258,9 @@ show authors;
return 42;
return 42;
end|
end|
ERROR 0A000: Not allowed to return a result set from a function
ERROR 0A000: Not allowed to return a result set from a function
drop function if exists bug20701
|
drop function if exists bug20701
;
create function bug20701() returns varchar(25) binary return "test"
|
create function bug20701() returns varchar(25) binary return "test"
;
ERROR 42000: This version of MySQL doesn't yet support 'return value collation'
ERROR 42000: This version of MySQL doesn't yet support 'return value collation'
create function bug20701() returns varchar(25) return "test"
|
create function bug20701() returns varchar(25) return "test"
;
drop function bug20701
|
drop function bug20701
;
End of 5.1 tests
End of 5.1 tests
mysql-test/t/sp-error.test
View file @
160f5fa5
...
@@ -1769,27 +1769,6 @@ BEGIN
...
@@ -1769,27 +1769,6 @@ BEGIN
END
;
END
;
#
# End of 5.0 tests
#
--
echo
End
of
5.0
tests
#
# Bug#16164 "Easter egg": check that SHOW AUTHORS is disabled in
# stored functions/triggers
#
--
disable_warnings
drop
function
if
exists
bug16164
;
--
enable_warnings
delimiter
|
;
--
error
ER_SP_NO_RETSET
create
function
bug16164
()
returns
int
begin
show
authors
;
return
42
;
end
|
#
#
# BUG#20953: create proc with a create view that uses local
# BUG#20953: create proc with a create view that uses local
# vars/params should fail to create
# vars/params should fail to create
...
@@ -1831,11 +1810,33 @@ PREPARE stmt FROM "CREATE VIEW v AS SELECT ?";
...
@@ -1831,11 +1810,33 @@ PREPARE stmt FROM "CREATE VIEW v AS SELECT ?";
DROP
TABLE
t1
;
DROP
TABLE
t1
;
#
# End of 5.0 tests
#
--
echo
End
of
5.0
tests
#
# Bug#16164 "Easter egg": check that SHOW AUTHORS is disabled in
# stored functions/triggers
#
--
disable_warnings
drop
function
if
exists
bug16164
;
--
enable_warnings
delimiter
|
;
--
error
ER_SP_NO_RETSET
create
function
bug16164
()
returns
int
begin
show
authors
;
return
42
;
end
|
delimiter
;
|
#
#
# BUG#20701: BINARY keyword should be forbidden in stored routines
# BUG#20701: BINARY keyword should be forbidden in stored routines
#
#
--
disable_warnings
--
disable_warnings
drop
function
if
exists
bug20701
|
drop
function
if
exists
bug20701
;
--
enable_warnings
--
enable_warnings
#
#
# This was disabled in 5.1.12. See bug #20701
# This was disabled in 5.1.12. See bug #20701
...
@@ -1843,17 +1844,19 @@ drop function if exists bug20701|
...
@@ -1843,17 +1844,19 @@ drop function if exists bug20701|
# be removed.
# be removed.
#
#
--
error
ER_NOT_SUPPORTED_YET
--
error
ER_NOT_SUPPORTED_YET
create
function
bug20701
()
returns
varchar
(
25
)
binary
return
"test"
|
create
function
bug20701
()
returns
varchar
(
25
)
binary
return
"test"
;
create
function
bug20701
()
returns
varchar
(
25
)
return
"test"
|
create
function
bug20701
()
returns
varchar
(
25
)
return
"test"
;
drop
function
bug20701
|
drop
function
bug20701
;
--
echo
End
of
5.1
tests
--
echo
End
of
5.1
tests
#
#
# BUG#NNNN: New bug synopsis
# BUG#NNNN: New bug synopsis
#
#
#--disable_warnings
#--disable_warnings
#drop procedure if exists bugNNNN
|
#drop procedure if exists bugNNNN
;
#drop function if exists bugNNNN
|
#drop function if exists bugNNNN
;
#--enable_warnings
#--enable_warnings
#create procedure bugNNNN...
#create procedure bugNNNN...
#create function bugNNNN...
#create function bugNNNN...
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