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
2379a9d2
Commit
2379a9d2
authored
Feb 09, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postreview changes
(used t3, moved after last bug, renamed)
parent
72c32d13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
30 deletions
+27
-30
mysql-test/r/sp.result
mysql-test/r/sp.result
+11
-12
mysql-test/t/sp.test
mysql-test/t/sp.test
+16
-18
No files found.
mysql-test/r/sp.result
View file @
2379a9d2
...
...
@@ -2379,18 +2379,17 @@ ERROR 42000: Can't find any matching row in the user table
select bug5278()|
ERROR 42000: Can't find any matching row in the user table
drop function bug5278|
drop table t1;
drop table t2;
drop procedure if exists p1;
create table t1(id int);
insert into t1 values(1);
create procedure p1()
drop procedure if exists p1|
create table t3(id int)|
insert into t3 values(1)|
create procedure bug7992()
begin
declare i int;
select max(id)+1 into i from t
1
;
end
//
call
p1()//
call p1()//
drop
procedure p1;
select max(id)+1 into i from t
3
;
end
|
call bug7992()|
call
bug7992()|
drop procedure bug7992|
drop
table t3|
drop table t1;
drop table t2;
mysql-test/t/sp.test
View file @
2379a9d2
...
...
@@ -2849,28 +2849,26 @@ select bug5278()|
select
bug5278
()
|
drop
function
bug5278
|
delimiter
;
|
drop
table
t1
;
drop
table
t2
;
#
# rolling back temporary Item tree changes in SP
#
BUG#7992:
rolling back temporary Item tree changes in SP
#
--
disable_warnings
drop
procedure
if
exists
p1
;
drop
procedure
if
exists
p1
|
--
enable_warnings
create
table
t1
(
id
int
);
insert
into
t1
values
(
1
);
delimiter
//;
create
procedure
p1
()
create
table
t3
(
id
int
)
|
insert
into
t3
values
(
1
)
|
create
procedure
bug7992
()
begin
declare
i
int
;
select
max
(
id
)
+
1
into
i
from
t1
;
end
//
call
p1
()
//
call
p1
()
//
delimiter
;
//
drop
procedure
p1
;
select
max
(
id
)
+
1
into
i
from
t3
;
end
|
call
bug7992
()
|
call
bug7992
()
|
drop
procedure
bug7992
|
drop
table
t3
|
delimiter
;
|
drop
table
t1
;
drop
table
t2
;
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