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
f066f4db
Commit
f066f4db
authored
Mar 08, 2005
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
making a better test case for bug #8850
parent
a54b5ea5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
mysql-test/r/sp.result
mysql-test/r/sp.result
+2
-1
mysql-test/t/sp.test
mysql-test/t/sp.test
+2
-1
No files found.
mysql-test/r/sp.result
View file @
f066f4db
...
...
@@ -2545,11 +2545,12 @@ begin
truncate table t1; insert t1 values (1); rollback;
end
|
begin
;
set autocommit=0
;
insert t1 values (2);
call sp1();
ERROR HY000: Can't execute the given command because you have active locked tables or an active transaction
commit;
set autocommit=1;
select * from t1;
a
2
...
...
mysql-test/t/sp.test
View file @
f066f4db
...
...
@@ -3087,11 +3087,12 @@ begin
end
|
delimiter
;
|
begin
;
set
autocommit
=
0
;
insert
t1
values
(
2
);
--
error
1192
call
sp1
();
commit
;
set
autocommit
=
1
;
select
*
from
t1
;
call
sp1
();
select
*
from
t1
;
...
...
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