1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge branch '10.6' into 10.9

This commit is contained in:
Oleksandr Byelkin
2023-08-04 08:01:06 +02:00
858 changed files with 12277 additions and 6177 deletions

View File

@@ -1019,7 +1019,9 @@ create or replace table t1 (
insert into t1 () values (),(),(),(),(),(),(),(),(),(),(),(),(),(),(),();
--disable_ps2_protocol
select * into outfile 'MDEV-17891.data' from t1;
--enable_ps2_protocol
load data infile 'MDEV-17891.data' replace into table t1;
--error ER_RECORD_FILE_FULL
load data infile 'MDEV-17891.data' replace into table t1;
@@ -1365,7 +1367,9 @@ partition by system_time limit 100 (
partition pn current);
insert into t1 select seq from seq_0_to_49;
--disable_ps2_protocol
select x into outfile 'MDEV-20077.data' from t1;
--enable_ps2_protocol
load data infile 'MDEV-20077.data' replace into table t1 (x);
load data infile 'MDEV-20077.data' replace into table t1 (x);
@@ -2204,7 +2208,9 @@ create or replace table t1 (x int primary key) with system versioning
partition by system_time interval 1 hour auto;
insert t1 values (1), (2), (3);
--disable_ps2_protocol
select x into outfile 'MDEV-17554.data' from t1;
--enable_ps2_protocol
set timestamp= unix_timestamp('2000-01-01 01:00:00');
load data infile 'MDEV-17554.data' replace into table t1 (x);
@@ -2634,5 +2640,21 @@ alter table t partition by system_time interval 10 week;
drop table t;
--disable_prepare_warnings
--echo #
--echo # MDEV-29727 ALTER and CREATE with default partitioning
--echo # differently react to SQL_MODE => unusable SHOW CREATE
--echo #
create table t (a int) with system versioning;
--error WARN_VERS_PARAMETERS
alter table t partition by system_time partitions 3;
drop table t;
--error WARN_VERS_PARAMETERS
create table t (a int) with system versioning partition by system_time partitions 3;
--echo #
--echo # End of 10.5 tests
--echo #
set global innodb_stats_persistent= @save_persistent;
--source suite/versioning/common_finish.inc