[MDEV-14677] Misleading ER_VERS_ENGINE_UNSUPPORTED upon attempt to partition the table Created: 2017-12-16  Updated: 2017-12-27  Resolved: 2017-12-19

Status: Closed
Project: MariaDB Server
Component/s: Partitioning, Versioned Tables
Affects Version/s: N/A
Fix Version/s: 10.3.4

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Aleksey Midenkov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-14678 Misleading ER_VERS_ENGINE_UNSUPPORTED... Closed

 Description   

Note: I think it's been discussed earlier, filing it so that we don't forget it should be looked at.

create or replace table t (i int) engine=InnoDB with system versioning partition by system_time interval 1 day (partition p1 versioning, partition plast as of current_timestamp);

bb-10.3-temporal 2ae2876a6ce4b1

ERROR 4109 (HY000): Engine does not support System Versioning for `t`

It's not a great error message, if possible, it would be better to change it.
I don't know if it can be done easily though, because we have similar legacy problems, like

create table t1 (i INT, p POINT) ENGINE=InnoDB PARTITION BY HASH(i) PARTITIONS 2;

ERROR 1178 (42000): The storage engine for the table doesn't support GEOMETRY

etc.



 Comments   
Comment by Aleksey Midenkov [ 2017-12-19 ]

Already fixed.

Generated at Thu Feb 08 08:15:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.