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
2d998575
Commit
2d998575
authored
May 02, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-5.0-7293
into mysql.com:/home/jimw/my/mysql-5.0-clean
parents
bd24e892
b318122c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
mysql-test/r/sp.result
mysql-test/r/sp.result
+16
-0
mysql-test/t/sp.test
mysql-test/t/sp.test
+17
-0
No files found.
mysql-test/r/sp.result
View file @
2d998575
...
@@ -3041,4 +3041,20 @@ Warning 1265 Data truncated for column 'id' at row 2
...
@@ -3041,4 +3041,20 @@ Warning 1265 Data truncated for column 'id' at row 2
delete from t1|
delete from t1|
drop procedure bug9004_1|
drop procedure bug9004_1|
drop procedure bug9004_2|
drop procedure bug9004_2|
drop procedure if exists bug7293|
insert into t1 values ('secret', 0)|
create procedure bug7293(p1 varchar(100))
begin
if exists (select id from t1 where soundex(p1)=soundex(id)) then
select 'yes';
end if;
end;|
call bug7293('secret')|
yes
yes
call bug7293 ('secrete')|
yes
yes
drop procedure bug7293|
delete from t1|
drop table t1,t2;
drop table t1,t2;
mysql-test/t/sp.test
View file @
2d998575
...
@@ -3723,6 +3723,23 @@ delete from t1|
...
@@ -3723,6 +3723,23 @@ delete from t1|
drop
procedure
bug9004_1
|
drop
procedure
bug9004_1
|
drop
procedure
bug9004_2
|
drop
procedure
bug9004_2
|
#
# BUG#7293: Stored procedure crash with soundex
#
--
disable_warnings
drop
procedure
if
exists
bug7293
|
--
enable_warnings
insert
into
t1
values
(
'secret'
,
0
)
|
create
procedure
bug7293
(
p1
varchar
(
100
))
begin
if
exists
(
select
id
from
t1
where
soundex
(
p1
)
=
soundex
(
id
))
then
select
'yes'
;
end
if
;
end
;
|
call
bug7293
(
'secret'
)
|
call
bug7293
(
'secrete'
)
|
drop
procedure
bug7293
|
delete
from
t1
|
#
#
# BUG#NNNN: New bug synopsis
# 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