Details
-
Bug
-
Status: Open (View Workflow)
-
Trivial
-
Resolution: Unresolved
-
5.5, 10.1, 10.2, 10.3, 10.4
Description
MariaDB [test]> create table t1 (c char(8)) partition by range (c(4)) (partition p1 values less than ('foo')); |
ERROR 1064 (42000): Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed near ') (partition p1 values less than ('foo'))' at line 1 |
The text is odd, since it's neither constant, nor random, nor timezone-dependent expression. It is not very important though, the statement would fail anyway, since partitioning by CHAR is not supported.