mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
BUG#18198: Fixes
ascii on varchar now allowed
This commit is contained in:
parent
fbd15d253d
commit
9711ee848c
2 changed files with 2 additions and 2 deletions
|
@ -641,7 +641,7 @@ ERROR HY000: Partition constant is out of partition function domain
|
|||
create table t1 (v varchar(12))
|
||||
partition by range (ascii(v))
|
||||
(partition p0 values less than (10));
|
||||
ERROR HY000: This partition function is not allowed
|
||||
drop table t1;
|
||||
create table t1 (a int)
|
||||
partition by hash (rand(a));
|
||||
ERROR 42000: Constant/Random expression in (sub)partitioning function is not allowed near ')' at line 2
|
||||
|
|
|
@ -809,10 +809,10 @@ partition by range (a)
|
|||
#
|
||||
# Bug 18198 Partitions: Verify that erroneus partition functions doesn't work
|
||||
#
|
||||
-- error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
|
||||
create table t1 (v varchar(12))
|
||||
partition by range (ascii(v))
|
||||
(partition p0 values less than (10));
|
||||
drop table t1;
|
||||
|
||||
-- error 1064
|
||||
create table t1 (a int)
|
||||
|
|
Loading…
Reference in a new issue