Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 10.3
-
Fix Version/s: 10.3.5
-
Component/s: Versioned Tables
-
Labels:None
Description
Bad error/code message upon attempt to partition by system_time a table without system versioning.
create or replace table t1 (i int); |
alter table t1 partition by system_time limit 10 (partition p1 history, partition pn current); |
Actual result |
MariaDB [test]> alter table t1 partition by system_time limit 10 (partition p1 history, partition pn current); |
ERROR 4109 (HY000): Transaction system versioning for `#sql-5280_9` is not supported |
An error is expected, but this particular error doesn't seem optimal for the case, something like "the table is no system-versioned" would be more suitable.