mariadb/mysql-test/suite/versioning/r
Aleksey Midenkov f707c83fff MDEV-17554 Auto-create new partition for system versioned tables with history partitioned by INTERVAL/LIMIT
When there are E empty partitions left, auto-create N new empty
partitions for SYSTEM_TIME partitioning rotated by INTERVAL/LIMIT and
marked by AUTO_INCREMENT keyword. Syntax change: AUTO_INCREMENT
keyword (or shorter AUTO may be used instead) after LIMIT/INTERVAL
clause.

CREATE OR REPLACE TABLE t (x INT) WITH SYSTEM VERSIONING
PARTITION BY SYSTEM_TIME LIMIT 100000 AUTO_INCREMENT;

CREATE OR REPLACE TABLE t (x INT) WITH SYSTEM VERSIONING
PARTITION BY SYSTEM_TIME INTERVAL 1 WEEK AUTO_INCREMENT;

The current revision implements hard-coded values of 1 for E and N. As
well as auto-creation threshold MinInterval = 1 hour, MinLimit = 1000.

The name for newly added partition will be first chosen as "pX", where
X is partition number and "p" is hard-coded name prefix. If this name
is already occupied, the X will be incremented until the resulting
name will be free to use.

ALTER TABLE ADD PARTITION is now always fast. If there some history
partition overflow occurs manual ALTER TABLE REBUILD PARTITION is
needed.
2020-02-25 15:43:23 +03:00
..
alter.result Merge branch '10.3' into 10.4 2019-12-09 15:09:41 +01:00
auto_increment.result simplify versioning tests 2018-02-24 00:50:57 +01:00
commit_id.result MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operations 2018-07-04 19:13:55 +02:00
create.result Merge 10.4 into 10.5 2019-10-11 08:41:36 +03:00
cte.result Merge 10.3 into 10.4 2019-08-31 06:53:45 +03:00
debug.result generalize the error message 2019-05-18 20:34:03 +02:00
delete.result MDEV-18929 2nd execution of SP does not detect ER_VERS_NOT_VERSIONED 2019-12-03 15:28:41 +03:00
delete_history.result MDEV-17554 Auto-create new partition for system versioned tables with history partitioned by INTERVAL/LIMIT 2020-02-25 15:43:23 +03:00
derived.result MDEV-15391 Server crashes in JOIN::fix_all_splittings_in_plan or Assertion `join->best_read < double(1.79...e+308L)' failed 2018-04-10 13:12:36 +02:00
foreign.result MDEV-20729 Fix REFERENCES constraint in column definition 2019-11-20 13:18:54 +03:00
insert.result MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operations 2018-07-04 19:13:55 +02:00
insert2.result Merge 10.2 into 10.3 2019-03-27 13:27:04 +02:00
load_data.result MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operations 2018-07-04 19:13:55 +02:00
online.result Merge 10.3 into 10.4 2019-10-10 21:30:40 +03:00
optimized.result MDEV-15062 Information Schema COLUMNS Table does not show system versioning information 2018-04-10 13:12:36 +02:00
partition.result MDEV-17554 Auto-create new partition for system versioned tables with history partitioned by INTERVAL/LIMIT 2020-02-25 15:43:23 +03:00
replace.result versioning test suite fixes 2019-10-10 00:20:34 +03:00
rpl.result MDEV-17554 Auto-create new partition for system versioned tables with history partitioned by INTERVAL/LIMIT 2020-02-25 15:43:23 +03:00
rpl_mix.result MDEV-15405 Mixed replication fails with "Could not execute Delete_rows_v1 event" upon DELETE HISTORY 2018-02-25 14:31:15 +01:00
rpl_row.result cleanup: move rbr-only test to rpl_row.test 2019-03-29 12:51:19 +01:00
select,trx_id.rdiff MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operations 2018-07-04 19:13:55 +02:00
select.result Merge 10.4 into 10.5 2019-12-16 07:47:17 +02:00
select2,trx_id.rdiff MDEV-16144 Default TIMESTAMP clause for SELECT from versioned 2019-09-30 14:05:09 +03:00
select2.result MDEV-16144 Default TIMESTAMP clause for SELECT from versioned 2019-09-30 14:05:09 +03:00
simple.result fix versioning.simple for embedded 2019-06-17 12:26:25 +02:00
sysvars.result MDEV-17798 System variable system_versioning_asof accepts wrong values (10.4) 2020-02-02 17:13:58 +03:00
truncate_privilege.result MDEV-20076: SHOW GRANTS does not quote role names properly 2020-02-05 17:22:26 +01:00
trx_id.result Merge 10.4 into 10.5 2019-12-30 10:29:43 +02:00
update,trx_id.rdiff Versioning tests stability improvement 2019-03-29 12:51:19 +01:00
update-big.result versioning test suite fixes 2019-10-10 00:20:34 +03:00
update.result MDEV-20955 versioning.update failed in buildbot with wrong result code 2020-02-02 15:13:29 +03:00
view.result MDEV-18929 2nd execution of SP does not detect ER_VERS_NOT_VERSIONED (10.4) 2019-12-02 12:46:15 +03:00