Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
N/A
-
None
-
bb-10.6-midenok-
MDEV-17554
Description
The test case is taken from the MTR test, so there is no need to add it anywhere:
set timestamp= unix_timestamp('2000-01-01 00:00:00'); |
create or replace table t1 (x int) with system versioning partition by system_time interval 1 hour auto; |
set timestamp= unix_timestamp('2001-01-01 00:01:00'); |
update t1 set x= x + 1; |
The UPDATE results in
bb-10.6-midenok-MDEV-17554 b96b96f9f3e |
MariaDB [test]> update t1 set x= x + 1; |
ERROR 1499 (HY000): Too many partitions (including subpartitions) were defined
|
While it is indeed what happens underneath, the error message is really unsuitable and confusing in this situation: UPDATE doesn't define any partitions at all, and in this case even the table definition doesn't "define too many partitions".
Attachments
Issue Links
- relates to
-
MDEV-17554 Auto-create history partitions for system-versioned tables
- Closed