summaryrefslogtreecommitdiff
path: root/mysql-test/r/partition_range.result
diff options
context:
space:
mode:
authormikael@dator6.(none) <>2008-02-13 11:29:50 +0100
committermikael@dator6.(none) <>2008-02-13 11:29:50 +0100
commite1820b2e779b79b1d9551cab394b795d72b19db1 (patch)
treeb004486d5ec223d770c06e2be58f8e5c0c1dba36 /mysql-test/r/partition_range.result
parent2bff6fd22a57db9882e2caedd92f34e9657d3223 (diff)
parent6995b41ba2cc48e824c57d91237f99027fe9e0d8 (diff)
downloadmariadb-git-e1820b2e779b79b1d9551cab394b795d72b19db1.tar.gz
Merge dator6.(none):/home/mikael/mysql_clones/bug32943
into dator6.(none):/home/mikael/mysql_clones/mysql-5.1-engines
Diffstat (limited to 'mysql-test/r/partition_range.result')
-rw-r--r--mysql-test/r/partition_range.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/partition_range.result b/mysql-test/r/partition_range.result
index 4c6459a09e3..b027ef088ae 100644
--- a/mysql-test/r/partition_range.result
+++ b/mysql-test/r/partition_range.result
@@ -1,4 +1,15 @@
drop table if exists t1, t2;
+create table t1 (a int)
+partition by range (a)
+( partition p0 values less than (maxvalue));
+alter table t1 add partition (partition p1 values less than (100000));
+ERROR HY000: MAXVALUE can only be used in last partition definition
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN MAXVALUE ENGINE = MyISAM) */
+drop table t1;
create table t1 (a integer)
partition by range (a)
( partition p0 values less than (4),