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
edd58be5
Commit
edd58be5
authored
Mar 20, 2008
by
anozdrin/alik@quad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A test case for Bug#29958: Weird message on DROP DATABASE
if mysql.proc does not exist.
parent
52e06641
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
0 deletions
+50
-0
mysql-test/r/drop.result
mysql-test/r/drop.result
+16
-0
mysql-test/t/drop.test
mysql-test/t/drop.test
+34
-0
No files found.
mysql-test/r/drop.result
View file @
edd58be5
...
...
@@ -91,4 +91,20 @@ create table mysql_test.`#sql-347f_7` (f1 int);
create table mysql_test.`#sql-347f_8` (f1 int);
drop table mysql_test.`#sql-347f_8`;
drop database mysql_test;
# --
# -- Bug#29958: Weird message on DROP DATABASE if mysql.proc does not
# -- exist.
# --
DROP DATABASE IF EXISTS mysql_test;
CREATE DATABASE mysql_test;
DROP TABLE mysql.proc;
DROP DATABASE mysql_test;
Warnings:
Error 1146 Table 'mysql.proc' doesn't exist
# --
# -- End of Bug#29958.
# --
End of 5.1 tests
mysql-test/t/drop.test
View file @
edd58be5
...
...
@@ -134,4 +134,38 @@ drop table mysql_test.`#sql-347f_8`;
copy_file
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql_test
/
t1
.
frm
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql_test
/
#sql-347f_6.frm;
drop
database
mysql_test
;
###########################################################################
--
echo
--
echo
# --
--
echo
# -- Bug#29958: Weird message on DROP DATABASE if mysql.proc does not
--
echo
# -- exist.
--
echo
# --
--
disable_warnings
DROP
DATABASE
IF
EXISTS
mysql_test
;
--
enable_warnings
CREATE
DATABASE
mysql_test
;
--
copy_file
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
proc
.
frm
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
backup
.
proc
.
frm
--
copy_file
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
proc
.
MYD
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
backup
.
proc
.
MYD
--
copy_file
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
proc
.
MYI
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
backup
.
proc
.
MYI
DROP
TABLE
mysql
.
proc
;
DROP
DATABASE
mysql_test
;
--
copy_file
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
backup
.
proc
.
frm
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
proc
.
frm
--
copy_file
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
backup
.
proc
.
MYD
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
proc
.
MYD
--
copy_file
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
backup
.
proc
.
MYI
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql
/
proc
.
MYI
--
echo
--
echo
# --
--
echo
# -- End of Bug#29958.
--
echo
# --
###########################################################################
--
echo
--
echo
End
of
5.1
tests
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