mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug #12097 More fixes
mysql-test/r/partition_error.result: Fixed result files after rearranging code a bit mysql-test/t/partition_error.test: Fixed result files after rearranging code a bit sql/share/errmsg.txt: Fixed result files after rearranging code a bit sql/sql_yacc.yy: Added initialisation
This commit is contained in:
@ -290,7 +290,8 @@ partition by range (a)
|
||||
partitions 2
|
||||
(partition x1 values less than (4.0) tablespace ts1,
|
||||
partition x2 values less than (8) tablespace ts2);
|
||||
ERROR HY000: VALUES LESS THAN value must be of same type as partition function
|
||||
ERROR 42000: VALUES value must be of same type as partition function near ') tablespace ts1,
|
||||
partition x2 values less than (8) tablespace ts2)' at line 8
|
||||
CREATE TABLE t1 (
|
||||
a int not null,
|
||||
b int not null,
|
||||
@ -530,7 +531,8 @@ partition by list (a)
|
||||
partitions 2
|
||||
(partition x1 values in (4.0, 12+8),
|
||||
partition x2 values in (3, 21));
|
||||
ERROR HY000: VALUES IN value must be of same type as partition function
|
||||
ERROR 42000: VALUES value must be of same type as partition function near ' 12+8),
|
||||
partition x2 values in (3, 21))' at line 8
|
||||
CREATE TABLE t1 (
|
||||
a int not null,
|
||||
b int not null,
|
||||
|
@ -389,7 +389,7 @@ partitions 2
|
||||
#
|
||||
# Partition by range, inconsistent partition function and constants
|
||||
#
|
||||
--error 1450
|
||||
--error 1064
|
||||
CREATE TABLE t1 (
|
||||
a int not null,
|
||||
b int not null,
|
||||
@ -702,7 +702,7 @@ partitions 2
|
||||
#
|
||||
# Partition by list, wrong constant result type (not INT)
|
||||
#
|
||||
--error 1450
|
||||
--error 1064
|
||||
CREATE TABLE t1 (
|
||||
a int not null,
|
||||
b int not null,
|
||||
|
Reference in New Issue
Block a user