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
6a46d0cd
Commit
6a46d0cd
authored
Apr 13, 2005
by
pem@mysql.comhem.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test case for BUG#6129: Stored procedure won't display @@sql_mode value.
parent
32221d9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
mysql-test/r/sp.result
mysql-test/r/sp.result
+12
-0
mysql-test/t/sp.test
mysql-test/t/sp.test
+19
-0
No files found.
mysql-test/r/sp.result
View file @
6a46d0cd
...
...
@@ -2850,4 +2850,16 @@ begin
end|
call avg ()|
drop procedure avg|
drop procedure if exists bug6129|
set @@sql_mode = 'traditional'|
create procedure bug6129(mode text)
select @@sql_mode = mode|
call bug6129(@@sql_mode)|
@@sql_mode = mode
1
set @@sql_mode = ''|
call bug6129(@@sql_mode)|
@@sql_mode = mode
0
drop procedure bug6129|
drop table t1,t2;
mysql-test/t/sp.test
View file @
6a46d0cd
...
...
@@ -3495,6 +3495,25 @@ call avg ()|
drop
procedure
avg
|
#
# BUG#6129: Stored procedure won't display @@sql_mode value
#
--
disable_warnings
drop
procedure
if
exists
bug6129
|
--
enable_warnings
set
@@
sql_mode
=
'traditional'
|
create
procedure
bug6129
(
mode
text
)
select
@@
sql_mode
=
mode
|
# 1
call
bug6129
(
@@
sql_mode
)
|
set
@@
sql_mode
=
''
|
# 0
call
bug6129
(
@@
sql_mode
)
|
drop
procedure
bug6129
|
#
# BUG#NNNN: New bug synopsis
#
...
...
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