1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

SQL: disable truncate history on partitioned [fixes #399]

This commit is contained in:
Aleksey Midenkov
2017-12-14 19:11:02 +03:00
parent f96815fe97
commit ab5ec0f346
4 changed files with 30 additions and 0 deletions

View File

@ -34,4 +34,13 @@ select * from t for system_time all;
a
11
22
### Issue #399, truncate partitioned table is now unimplemented
create or replace table t (a int)
with system versioning
engine myisam
partition by system_time (
partition p0 versioning,
partition pn as of current_timestamp);
truncate table t to system_time current_timestamp;
ERROR 42000: The used command is not allowed with this MariaDB version
drop table t;