mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 23:54:31 +02:00
Merge 10.5 into 10.6
This commit is contained in:
commit
daa2680c78
4 changed files with 48 additions and 27 deletions
|
|
@ -8,6 +8,7 @@ if (`select @@max_binlog_stmt_cache_size = 4294963200 and @@innodb_page_size = 6
|
|||
|
||||
call mtr.add_suppression("InnoDB: New log files created");
|
||||
|
||||
let $test_comp=`select @@innodb_page_size < 32768`;
|
||||
let basedir=$MYSQLTEST_VARDIR/tmp/backup;
|
||||
let incremental_dir=$MYSQLTEST_VARDIR/tmp/backup_inc1;
|
||||
|
||||
|
|
@ -16,6 +17,14 @@ CREATE TABLE t(i INT PRIMARY KEY) ENGINE INNODB;
|
|||
# MDEV-515 takes X-lock on the table for the first insert.
|
||||
# So concurrent insert won't happen on the table
|
||||
INSERT INTO t VALUES(100);
|
||||
if ($test_comp) {
|
||||
# If MDEV-28474 is not fixed, backup preparing will crash with SIGSEGV.
|
||||
--disable_query_log
|
||||
--disable_result_log
|
||||
CREATE TABLE t_comp(i INT PRIMARY KEY) ENGINE INNODB ROW_FORMAT=COMPRESSED;
|
||||
--enable_query_log
|
||||
--enable_result_log
|
||||
}
|
||||
BEGIN;
|
||||
INSERT INTO t VALUES(2);
|
||||
connect (con1,localhost,root,,);
|
||||
|
|
@ -99,6 +108,13 @@ let $targetdir=$basedir;
|
|||
|
||||
SELECT * FROM t;
|
||||
DROP TABLE t;
|
||||
if ($test_comp) {
|
||||
--disable_query_log
|
||||
--disable_result_log
|
||||
DROP TABLE t_comp;
|
||||
--enable_query_log
|
||||
--enable_result_log
|
||||
}
|
||||
DROP TABLE t_aria;
|
||||
|
||||
# Cleanup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue