summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_range.test
diff options
context:
space:
mode:
authorunknown <mikael@dator6.(none)>2008-02-13 11:29:50 +0100
committerunknown <mikael@dator6.(none)>2008-02-13 11:29:50 +0100
commita7f2f9514ee85c1a4427d6dc3884bafb8fe389be (patch)
treeb004486d5ec223d770c06e2be58f8e5c0c1dba36 /mysql-test/t/partition_range.test
parent911a85d54844ad75f407359bd86a44c76c7e6dc4 (diff)
parent3fce8cf1051a62038b4c4fd0f4009097a5223efa (diff)
downloadmariadb-git-a7f2f9514ee85c1a4427d6dc3884bafb8fe389be.tar.gz
Merge dator6.(none):/home/mikael/mysql_clones/bug32943
into dator6.(none):/home/mikael/mysql_clones/mysql-5.1-engines sql/sql_partition.cc: Auto merged sql/sql_table.cc: Auto merged mysql-test/r/partition_range.result: manual merge mysql-test/t/partition_range.test: manual merge
Diffstat (limited to 'mysql-test/t/partition_range.test')
-rw-r--r--mysql-test/t/partition_range.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/partition_range.test b/mysql-test/t/partition_range.test
index c73a56aff9d..bc4231d1d71 100644
--- a/mysql-test/t/partition_range.test
+++ b/mysql-test/t/partition_range.test
@@ -10,6 +10,16 @@ drop table if exists t1, t2;
--enable_warnings
#
+# BUG 33429: Succeeds in adding partition when maxvalue on last partition
+#
+create table t1 (a int)
+partition by range (a)
+( partition p0 values less than (maxvalue));
+--error ER_PARTITION_MAXVALUE_ERROR
+alter table t1 add partition (partition p1 values less than (100000));
+show create table t1;
+drop table t1;
+
# BUG 32943:
# Locking problems in relation to partitioning and triggers
# Also fixes and test cases of generic lock issues with