mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.5 into 10.6
This commit is contained in:
10
mysql-test/suite/encryption/r/innochecksum,debug.rdiff
Normal file
10
mysql-test/suite/encryption/r/innochecksum,debug.rdiff
Normal file
@ -0,0 +1,10 @@
|
||||
@@ -30,6 +30,9 @@
|
||||
# Space ID mismatch
|
||||
# Restore the original tables
|
||||
# Corrupt FIL_DATA+10 (data)
|
||||
+# FOUND 1 is expected for both.
|
||||
+FOUND 1 /InnoDB: Crash recovery is broken due to insufficient innodb_log_file_size; last checkpoint LSN=\d+, current LSN=\d+\. Shutdown is in progress\..*InnoDB: Crash recovery was broken.*/ in mysqld.1.err
|
||||
+FOUND 1 /InnoDB: Crash recovery was broken/ in mysqld.1.err
|
||||
# Run innochecksum on t2
|
||||
# Run innochecksum on t3
|
||||
# Run innochecksum on t6
|
@ -9,6 +9,7 @@
|
||||
-- source include/have_file_key_management_plugin.inc
|
||||
-- source include/innodb_page_size_small.inc
|
||||
-- source include/innodb_checksum_algorithm.inc
|
||||
-- source include/maybe_debug.inc
|
||||
|
||||
if (!$INNOCHECKSUM) {
|
||||
--echo Need innochecksum binary
|
||||
@ -18,6 +19,10 @@ if (!$INNOCHECKSUM) {
|
||||
--disable_query_log
|
||||
# This may be triggered on a slow system or one that lacks native AIO.
|
||||
call mtr.add_suppression("InnoDB: Trying to delete tablespace.*pending operations");
|
||||
if ($have_debug) {
|
||||
SET GLOBAL DEBUG_DBUG='+d,ib_log_checkpoint_avoid_hard';
|
||||
call mtr.add_suppression("InnoDB: Crash recovery is broken due to insufficient innodb_log_file_size");
|
||||
}
|
||||
--enable_query_log
|
||||
|
||||
let $checksum_algorithm = `SELECT @@innodb_checksum_algorithm`;
|
||||
@ -259,6 +264,15 @@ print FILE pack("H*", "c00lcafedeadb017");
|
||||
close FILE or die "close";
|
||||
EOF
|
||||
|
||||
if ($have_debug) {
|
||||
--let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err
|
||||
--let SEARCH_PATTERN= InnoDB: Crash recovery is broken due to insufficient innodb_log_file_size; last checkpoint LSN=\\d+, current LSN=\\d+\\. Shutdown is in progress\\..*InnoDB: Crash recovery was broken.*
|
||||
--echo # FOUND 1 is expected for both.
|
||||
--source include/search_pattern_in_file.inc
|
||||
--let SEARCH_PATTERN= InnoDB: Crash recovery was broken
|
||||
--source include/search_pattern_in_file.inc
|
||||
}
|
||||
|
||||
-- disable_result_log
|
||||
--error 1
|
||||
--exec $INNOCHECKSUM $t1_IBD
|
||||
|
Reference in New Issue
Block a user