Details
-
Type:
New Feature
-
Status: Closed (View Workflow)
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 22.08.1
-
Component/s: Columnstore Select Handler
-
Labels:None
-
Environment:CentOS 7
MariaDB-server 10.5.8_5-1
Description
When the 8000 byte varchar column limit is exceeded, the error message reads:
MariaDB [test]> alter table products add column testchar varchar(2001) character set utf8mb4;
|
ERROR 1815 (HY000): Internal error: CAL0001: Alter table Failed: AlterTableProcessor::addColumn char, varchar and varbinary length may not exceed 8000
|
If this could just specify the units like this:
MariaDB [test]> alter table products add column testchar varchar(2001) character set utf8mb4;
|
ERROR 1815 (HY000): Internal error: CAL0001: Alter table Failed: AlterTableProcessor::addColumn char, varchar and varbinary length may not exceed 8000 bytes
|
it would save a lot of confusion for users, as can be seen in the associated support case.