mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-16023 Unfortunate error message WARN_VERS_PART_FULL (partition <name> is full) when rotation time for the last interval passed
* remove one case of WARN_VERS_PART_FULL
This commit is contained in:
@ -8,11 +8,7 @@ insert t1 values (1);
|
||||
delete from t1;
|
||||
set timestamp=unix_timestamp('2001-02-04 10:20:50');
|
||||
insert t1 values (2);
|
||||
Warnings:
|
||||
Warning 4114 Versioned table `test`.`t1`: partition `p1` is full, add more HISTORY partitions
|
||||
delete from t1;
|
||||
Warnings:
|
||||
Warning 4114 Versioned table `test`.`t1`: partition `p1` is full, add more HISTORY partitions
|
||||
select subpartition_name,partition_description,table_rows from information_schema.partitions where table_schema='test' and table_name='t1';
|
||||
subpartition_name partition_description table_rows
|
||||
p1sp0 2001-02-04 10:20:30 1
|
||||
@ -55,4 +51,20 @@ i
|
||||
explain partitions select * from t1 for system_time all where row_end = @ts;
|
||||
id select_type table partitions type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 p1_p1sp0,p1_p1sp1 # NULL NULL NULL NULL # #
|
||||
#
|
||||
# MDEV-16023 Unfortunate error message WARN_VERS_PART_FULL
|
||||
#
|
||||
set timestamp= unix_timestamp('2020-07-29 10:30:10');
|
||||
create or replace table t1 (a int) with system versioning
|
||||
partition by system_time interval 1 second (
|
||||
partition p0 history,
|
||||
partition p1 history,
|
||||
partition pc current
|
||||
);
|
||||
set timestamp= unix_timestamp('2020-07-29 10:30:14');
|
||||
insert into t1 values (1),(2),(3);
|
||||
show warnings;
|
||||
Level Code Message
|
||||
# Cleanup
|
||||
set timestamp= default;
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user