summaryrefslogtreecommitdiff
path: root/mysql-test/r/drop.result
diff options
context:
space:
mode:
authorunknown <anozdrin/alik@quad.>2008-03-20 11:36:35 +0300
committerunknown <anozdrin/alik@quad.>2008-03-20 11:36:35 +0300
commit1975532945bd1e719cf88e646907e22002635e51 (patch)
treecae858beb6eb27ff86681efd734ff3e1b9de8907 /mysql-test/r/drop.result
parent23d4ab3bf86e5a886ccec7d1f7f8a296c8ab137f (diff)
downloadmariadb-git-1975532945bd1e719cf88e646907e22002635e51.tar.gz
A test case for Bug#29958: Weird message on DROP DATABASE
if mysql.proc does not exist. mysql-test/r/drop.result: Update result file. mysql-test/t/drop.test: Add a test case for Bug#29958: Weird message on DROP DATABASE if mysql.proc does not exist.
Diffstat (limited to 'mysql-test/r/drop.result')
-rw-r--r--mysql-test/r/drop.result16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/drop.result b/mysql-test/r/drop.result
index 71d6fcc7cd0..ea34fa316a2 100644
--- a/mysql-test/r/drop.result
+++ b/mysql-test/r/drop.result
@@ -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