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:
@ -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;
|
||||
|
Reference in New Issue
Block a user