[MDEV-14674] Wrong error message on erroneous partitioning query Created: 2017-12-16  Updated: 2017-12-27  Resolved: 2017-12-19

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

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


 Description   

Note: Please don't fix it just yet, wait till we have the final syntax for partitioning, and then fix error message(s) accordingly.

Currently (in bb-10.3-temporal 2ae2876a6ce4b1e4d4b), the syntax for the last partition is PARTITION pn AS OF CURRENT_TIMESTAMP; but the ER_VERS_WRONG_PARTS error message, when it's produced on some reason, states otherwise:

ERROR 4133 (HY000): Wrong partitions consistency for `t1`: must have at least one 'VERSIONING' and exactly one last 'AS OF NOW'



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

This was already fixed. Current message is:

Wrong partitions for %`s: must have at least one HISTORY and exactly one last CURRENT

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