Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
10.3(EOL)
-
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.