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
5344528b
Commit
5344528b
authored
Feb 03, 2004
by
pem@mysql.comhem.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test for BUG#2614 (right name, right place, etc...),
and updated sp.result as well.
parent
5dc3387c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
14 deletions
+29
-14
mysql-test/r/sp.result
mysql-test/r/sp.result
+11
-0
mysql-test/t/sp.test
mysql-test/t/sp.test
+18
-14
No files found.
mysql-test/r/sp.result
View file @
5344528b
...
@@ -978,6 +978,17 @@ call bug2227(9)|
...
@@ -978,6 +978,17 @@ call bug2227(9)|
1.3 x y 42 z
1.3 x y 42 z
1.3 9 2.6 42 zzz
1.3 9 2.6 42 zzz
drop procedure bug2227|
drop procedure bug2227|
create procedure bug2614()
begin
drop table if exists t3;
create table t3 (id int default '0' not null);
insert into t3 select 12;
insert into t3 select * from t3;
end|
call bug2614()|
call bug2614()|
drop table t3|
drop procedure bug2614|
drop table if exists fac|
drop table if exists fac|
create table fac (n int unsigned not null primary key, f bigint unsigned)|
create table fac (n int unsigned not null primary key, f bigint unsigned)|
create procedure ifac(n int unsigned)
create procedure ifac(n int unsigned)
...
...
mysql-test/t/sp.test
View file @
5344528b
...
@@ -1120,6 +1120,24 @@ end|
...
@@ -1120,6 +1120,24 @@ end|
call
bug2227
(
9
)
|
call
bug2227
(
9
)
|
drop
procedure
bug2227
|
drop
procedure
bug2227
|
#
# BUG#2614
#
create
procedure
bug2614
()
begin
drop
table
if
exists
t3
;
create
table
t3
(
id
int
default
'0'
not
null
);
insert
into
t3
select
12
;
insert
into
t3
select
*
from
t3
;
end
|
--
disable_warnings
call
bug2614
()
|
--
enable_warnings
call
bug2614
()
|
drop
table
t3
|
drop
procedure
bug2614
|
#
#
# Some "real" examples
# Some "real" examples
...
@@ -1302,17 +1320,3 @@ drop procedure bar|
...
@@ -1302,17 +1320,3 @@ drop procedure bar|
delimiter
;
|
delimiter
;
|
drop
table
t1
;
drop
table
t1
;
drop
table
t2
;
drop
table
t2
;
delimiter
|
drop
procedure
if
exists
crash
|
create
procedure
crash
()
begin
drop
table
if
exists
t1
;
create
table
t1
(
id
int
default
'0'
not
null
);
insert
into
t1
select
12
;
insert
into
t1
select
*
from
t1
;
end
|
delimiter
;
call
crash
();
call
crash
();
drop
table
t1
;
drop
procedure
if
exists
crash
;
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