summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_error.test
diff options
context:
space:
mode:
authormikael/pappa@dator5.(none) <>2006-09-28 06:16:16 -0400
committermikael/pappa@dator5.(none) <>2006-09-28 06:16:16 -0400
commitfef3cb337c3e9bad0c874ccff6953167efaddf27 (patch)
tree73ffda1ee6b72f34b6bcd0d58fafdbd8354883f0 /mysql-test/t/partition_error.test
parentc7a3df765d08a42fe38ccbe92c4324e1f7e030a2 (diff)
parentea9014043b3c809e210bc8a2c80fb253359ad7f3 (diff)
downloadmariadb-git-fef3cb337c3e9bad0c874ccff6953167efaddf27.tar.gz
Merge dator5.(none):/home/pappa/clean-mysql-5.1-kt
into dator5.(none):/home/pappa/bug18198
Diffstat (limited to 'mysql-test/t/partition_error.test')
-rw-r--r--mysql-test/t/partition_error.test40
1 files changed, 0 insertions, 40 deletions
diff --git a/mysql-test/t/partition_error.test b/mysql-test/t/partition_error.test
index a9efbc587be..20703b979f1 100644
--- a/mysql-test/t/partition_error.test
+++ b/mysql-test/t/partition_error.test
@@ -9,46 +9,6 @@ drop table if exists t1;
--enable_warnings
#
-# Bug 18198: Partitions: Too flexible functions
-#
--- error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
-create table t1 (a int)
-partition by range (a)
-(partition p0 values less than ((select count(*) from t1)));
--- error 1054
-create table t1 (a int)
-partition by range (a)
-(partition p0 values less than (a);
-
-create table t1 (a int)
-partition by range (a)
-(partition p0 values less than (1));
--- error 1054
-alter table t1 add partition (partition p1 values less than (a));
--- error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
-alter table t1 add partition
-(partition p1 values less than ((select count(*) from t1)));
-drop table t1;
-
-#
-# Bug 20397: Partitions: Crash when using non-existing engine
-#
-create table t1 (a int)
-engine = x
-partition by key (a);
-show create table t1;
-drop table t1;
-
-create table t1 (a int)
-engine = innodb
-partition by list (a)
-(partition p0 values in (0));
-
-alter table t1 engine = x;
-show create table t1;
-drop table t1;
-
-#
# Partition by key stand-alone error
#
--error 1064