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
40c0ae81
Commit
40c0ae81
authored
Oct 22, 2009
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding forgotten files for test case for Bug#43138.
parent
9d7d67d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
0 deletions
+62
-0
mysql-test/r/drop_debug.result
mysql-test/r/drop_debug.result
+25
-0
mysql-test/t/drop_debug.test
mysql-test/t/drop_debug.test
+37
-0
No files found.
mysql-test/r/drop_debug.result
0 → 100644
View file @
40c0ae81
# --
# -- Bug#43138: DROP DATABASE failure does not clean up message list.
# --
DROP DATABASE IF EXISTS mysql_test;
CREATE DATABASE mysql_test;
CREATE TABLE mysql_test.t1(a INT);
CREATE TABLE mysql_test.t2(b INT);
CREATE TABLE mysql_test.t3(c INT);
SET SESSION DEBUG = "+d,bug43138";
DROP DATABASE mysql_test;
Warnings:
Error 1051 Unknown table 't3'
Error 1051 Unknown table 't2'
Error 1051 Unknown table 't1'
SET SESSION DEBUG = "-d,bug43138";
# --
# -- End of Bug#43138.
# --
mysql-test/t/drop_debug.test
0 → 100644
View file @
40c0ae81
#
# DROP-related tests which execution requires debug server.
#
--
source
include
/
have_debug
.
inc
###########################################################################
--
echo
--
echo
# --
--
echo
# -- Bug#43138: DROP DATABASE failure does not clean up message list.
--
echo
# --
--
echo
--
disable_warnings
DROP
DATABASE
IF
EXISTS
mysql_test
;
--
enable_warnings
--
echo
CREATE
DATABASE
mysql_test
;
CREATE
TABLE
mysql_test
.
t1
(
a
INT
);
CREATE
TABLE
mysql_test
.
t2
(
b
INT
);
CREATE
TABLE
mysql_test
.
t3
(
c
INT
);
--
echo
SET
SESSION
DEBUG
=
"+d,bug43138"
;
--
echo
DROP
DATABASE
mysql_test
;
--
echo
SET
SESSION
DEBUG
=
"-d,bug43138"
;
--
echo
--
echo
# --
--
echo
# -- End of Bug#43138.
--
echo
# --
###########################################################################
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