summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <jani@hynda.(none)>2003-05-13 22:28:34 +0300
committerunknown <jani@hynda.(none)>2003-05-13 22:28:34 +0300
commit32450d159b685660add0d2f68bc9d3a24b6bfb52 (patch)
tree9be52c420bc3c234537cf8f17d78e724715f2aff /mysql-test
parent496357a18069730b97b303d40d91a9ac3ec3783f (diff)
downloadmariadb-git-32450d159b685660add0d2f68bc9d3a24b6bfb52.tar.gz
Fixed a bug in DROP DATABASE when database had a RAID type table.
Bug ID 381.
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/raid.result3
-rw-r--r--mysql-test/t/raid.test3
2 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/raid.result b/mysql-test/r/raid.result
index 41af50851e9..fd47a9451f6 100644
--- a/mysql-test/r/raid.result
+++ b/mysql-test/r/raid.result
@@ -1,3 +1,6 @@
+create database test_raid;
+create table test_raid.r1 (i int) raid_type=1;
+drop database test_raid;
DROP TABLE IF EXISTS t1,t2;
CREATE TABLE t1 (
id int unsigned not null auto_increment primary key,
diff --git a/mysql-test/t/raid.test b/mysql-test/t/raid.test
index 8b608c1069f..4dbaf84a836 100644
--- a/mysql-test/t/raid.test
+++ b/mysql-test/t/raid.test
@@ -5,6 +5,9 @@ show variables like "have_raid";
# Test of raided tables
#
+create database test_raid;
+create table test_raid.r1 (i int) raid_type=1;
+drop database test_raid;
DROP TABLE IF EXISTS t1,t2;
CREATE TABLE t1 (
id int unsigned not null auto_increment primary key,