summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_column.test
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-10-28 19:20:32 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-10-28 19:20:32 +0100
commit470a44c70dedf9e58f914b51485280642f69a43f (patch)
tree8b5a0aa5dc69ed5d03a130028ae1f0695913991a /mysql-test/t/partition_column.test
parentc94237e530cd082321474fae0f51e85b71d7dc87 (diff)
downloadmariadb-git-470a44c70dedf9e58f914b51485280642f69a43f.tar.gz
Fixed code review change to ensure that VALUES constants are of the same result type as the field they are constants for
Diffstat (limited to 'mysql-test/t/partition_column.test')
-rw-r--r--mysql-test/t/partition_column.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/partition_column.test b/mysql-test/t/partition_column.test
index 1c5b859a211..b46c65b9cb0 100644
--- a/mysql-test/t/partition_column.test
+++ b/mysql-test/t/partition_column.test
@@ -56,8 +56,8 @@ create table t1 (a int, b char(10), c varchar(25), d datetime)
partition by range column_list(a,b,c,d)
subpartition by hash (to_seconds(d))
subpartitions 4
-( partition p0 values less than (1, 0, MAXVALUE, 0),
- partition p1 values less than (1, 'a', MAXVALUE, TO_DAYS('1999-01-01')),
+( partition p0 values less than (1, 0, MAXVALUE, '1900-01-01'),
+ partition p1 values less than (1, 'a', MAXVALUE, '1999-01-01'),
partition p2 values less than (1, 'a', MAXVALUE, MAXVALUE),
partition p3 values less than (1, MAXVALUE, MAXVALUE, MAXVALUE));
select partition_method, partition_expression, partition_description