mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
search_pattern_in_file.inc changes
1. Special mode to search in error logs: if SEARCH_RANGE is not set, the file is considered an error log and the search is performed since the last CURRENT_TEST: line 2. Number of matches is printed too. "FOUND 5 /foo/ in bar". Use greedy .* at the end of the pattern if number of matches isn't stable. If nothing is found it's still "NOT FOUND", not "FOUND 0". 3. SEARCH_ABORT specifies the prefix of the output. Can be "NOT FOUND" or "FOUND" as before, but also "FOUND 5 " if needed.
This commit is contained in:
@ -305,7 +305,6 @@ if(!$log_error_)
|
|||||||
let $log_error_ = $MYSQLTEST_VARDIR/log/mysqld.2.err;
|
let $log_error_ = $MYSQLTEST_VARDIR/log/mysqld.2.err;
|
||||||
}
|
}
|
||||||
--let SEARCH_FILE= $log_error_
|
--let SEARCH_FILE= $log_error_
|
||||||
--let SEARCH_RANGE=-50000
|
|
||||||
--let SEARCH_PATTERN= Slave SQL: The incident LOST_EVENTS occurred on the master\. Message: error writing to the binary log, Internal MariaDB error code: 1590
|
--let SEARCH_PATTERN= Slave SQL: The incident LOST_EVENTS occurred on the master\. Message: error writing to the binary log, Internal MariaDB error code: 1590
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
|
@ -12,37 +12,22 @@
|
|||||||
#
|
#
|
||||||
# Optionally, SEARCH_RANGE can be set to the max number of bytes of the file
|
# Optionally, SEARCH_RANGE can be set to the max number of bytes of the file
|
||||||
# to search. If negative, it will search that many bytes at the end of the
|
# to search. If negative, it will search that many bytes at the end of the
|
||||||
# file. The default is to search only the first 50000 bytes of the file.
|
# file. By default the search happens from the last CURRENT_TEST:
|
||||||
|
# marker till the end of file (appropriate for searching error logs).
|
||||||
|
#
|
||||||
|
# Optionally, SEARCH_ABORT can be set to "FOUND" or "NOT FOUND" and this
|
||||||
|
# will abort if the search result doesn't match the requested one.
|
||||||
#
|
#
|
||||||
# In case of
|
# In case of
|
||||||
# - SEARCH_FILE and/or SEARCH_PATTERN is not set
|
# - SEARCH_FILE and/or SEARCH_PATTERN is not set
|
||||||
# - SEARCH_FILE cannot be opened
|
# - SEARCH_FILE cannot be opened
|
||||||
# - SEARCH_FILE does not contain SEARCH_PATTERN
|
|
||||||
# the test will abort immediate.
|
# the test will abort immediate.
|
||||||
# MTR will report something like
|
|
||||||
# ....
|
|
||||||
# worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
|
|
||||||
# main.1st [ pass ] 3
|
|
||||||
# innodb.innodb_page_size [ fail ]
|
|
||||||
# Test ended at 2011-11-11 18:15:58
|
|
||||||
#
|
|
||||||
# CURRENT_TEST: innodb.innodb_page_size
|
|
||||||
# # ERROR: The file '<name>' does not contain the expected pattern <pattern>
|
|
||||||
# mysqltest: In included file "./include/search_pattern_in_file.inc":
|
|
||||||
# included from ./include/search_pattern_in_file.inc at line 36:
|
|
||||||
# At line 25: command "perl" failed with error 255. my_errno=175
|
|
||||||
#
|
|
||||||
# The result from queries just before the failure was:
|
|
||||||
# ...
|
|
||||||
# - saving '<some path>' to '<some path>'
|
|
||||||
# main.1st [ pass ] 2
|
|
||||||
#
|
#
|
||||||
# Typical use case (check invalid server startup options):
|
# Typical use case (check invalid server startup options):
|
||||||
# let $error_log= $MYSQLTEST_VARDIR/log/my_restart.err;
|
# let $error_log= $MYSQLTEST_VARDIR/log/my_restart.err;
|
||||||
# --error 0,1
|
# --error 0,1
|
||||||
# --remove_file $error_log
|
# --remove_file $error_log
|
||||||
# let SEARCH_FILE= $error_log;
|
# let SEARCH_FILE= $error_log;
|
||||||
# let SEARCH_RANGE= -50000;
|
|
||||||
# # Stop the server
|
# # Stop the server
|
||||||
# let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
|
# let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
|
||||||
# --exec echo "wait" > $restart_file
|
# --exec echo "wait" > $restart_file
|
||||||
@ -60,36 +45,37 @@
|
|||||||
|
|
||||||
perl;
|
perl;
|
||||||
use strict;
|
use strict;
|
||||||
die "SEARCH_FILE not set" unless $ENV{'SEARCH_FILE'};
|
use autodie qw(open);
|
||||||
my @search_files= glob($ENV{'SEARCH_FILE'});
|
die "SEARCH_FILE not set" unless $ENV{SEARCH_FILE};
|
||||||
my $search_pattern= $ENV{'SEARCH_PATTERN'} or die "SEARCH_PATTERN not set";
|
my @search_files= glob($ENV{SEARCH_FILE});
|
||||||
my $search_range= $ENV{'SEARCH_RANGE'};
|
my $search_pattern= $ENV{SEARCH_PATTERN} or die "SEARCH_PATTERN not set";
|
||||||
|
my $search_range= $ENV{SEARCH_RANGE};
|
||||||
my $content;
|
my $content;
|
||||||
$search_range= 50000 unless $search_range =~ /-?[0-9]+/;
|
|
||||||
foreach my $search_file (@search_files) {
|
foreach my $search_file (@search_files) {
|
||||||
open(FILE, '<', $search_file) or die("Unable to open '$search_file': $!\n");
|
open(FILE, '<', $search_file);
|
||||||
my $file_content;
|
my $file_content;
|
||||||
if ($search_range >= 0) {
|
if ($search_range > 0) {
|
||||||
read(FILE, $file_content, $search_range, 0);
|
read(FILE, $file_content, $search_range, 0);
|
||||||
} else {
|
} elsif ($search_range < 0) {
|
||||||
my $size= -s $search_file;
|
my $size= -s $search_file;
|
||||||
$search_range = -$size if $size > -$search_range;
|
$search_range = -$size if $size > -$search_range;
|
||||||
seek(FILE, $search_range, 2);
|
seek(FILE, $search_range, 2);
|
||||||
read(FILE, $file_content, -$search_range, 0);
|
read(FILE, $file_content, -$search_range, 0);
|
||||||
|
} else {
|
||||||
|
while(<FILE>) { # error log
|
||||||
|
if (/^CURRENT_TEST:/) {
|
||||||
|
$content='';
|
||||||
|
} else {
|
||||||
|
$content.=$_;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
close(FILE);
|
close(FILE);
|
||||||
$content.= $file_content;
|
$content.= $file_content;
|
||||||
}
|
}
|
||||||
$ENV{'SEARCH_FILE'} =~ s{^.*?([^/\\]+)$}{$1};
|
my @matches=($content =~ m/$search_pattern/gs);
|
||||||
if ($content =~ m{$search_pattern}) {
|
my $res=@matches ? "FOUND " . scalar(@matches) : "NOT FOUND";
|
||||||
die "FOUND /$search_pattern/ in $ENV{'SEARCH_FILE'}\n"
|
$ENV{SEARCH_FILE} =~ s{^.*?([^/\\]+)$}{$1};
|
||||||
if $ENV{SEARCH_ABORT} eq 'FOUND';
|
print "$res /$search_pattern/ in $ENV{SEARCH_FILE}\n";
|
||||||
print "FOUND /$search_pattern/ in $ENV{'SEARCH_FILE'}\n"
|
exit $ENV{SEARCH_ABORT} && $res =~ /^$ENV{SEARCH_ABORT}/;
|
||||||
unless defined $ENV{SEARCH_ABORT};
|
|
||||||
} else {
|
|
||||||
die "NOT FOUND /$search_pattern/ in $ENV{'SEARCH_FILE'}\n"
|
|
||||||
if $ENV{SEARCH_ABORT} eq 'NOT FOUND';
|
|
||||||
print "NOT FOUND /$search_pattern/ in $ENV{'SEARCH_FILE'}\n"
|
|
||||||
unless defined $ENV{SEARCH_ABORT};
|
|
||||||
}
|
|
||||||
EOF
|
EOF
|
||||||
|
@ -6,7 +6,7 @@ set global long_query_time=0.2;
|
|||||||
create table t1 (i int);
|
create table t1 (i int);
|
||||||
insert into t1 values (0);
|
insert into t1 values (0);
|
||||||
create event ev on schedule at CURRENT_TIMESTAMP + INTERVAL 1 second do update t1 set i=1+sleep(0.5);
|
create event ev on schedule at CURRENT_TIMESTAMP + INTERVAL 1 second do update t1 set i=1+sleep(0.5);
|
||||||
FOUND /update t1 set i=1/ in mysqld-slow.log
|
FOUND 1 /update t1 set i=1/ in mysqld-slow.log
|
||||||
drop table t1;
|
drop table t1;
|
||||||
set global event_scheduler= @event_scheduler_save;
|
set global event_scheduler= @event_scheduler_save;
|
||||||
set global slow_query_log= @slow_query_log_save;
|
set global slow_query_log= @slow_query_log_save;
|
||||||
|
@ -5533,4 +5533,4 @@ USE `db1`;
|
|||||||
|
|
||||||
DROP DATABASE db1;
|
DROP DATABASE db1;
|
||||||
DROP DATABASE db2;
|
DROP DATABASE db2;
|
||||||
FOUND /Database: mysql/ in bug11505.sql
|
FOUND 1 /Database: mysql/ in bug11505.sql
|
||||||
|
@ -13,4 +13,4 @@ drop user user1@localhost;
|
|||||||
#
|
#
|
||||||
# MDEV-8491 - On shutdown, report the user and the host executed that.
|
# MDEV-8491 - On shutdown, report the user and the host executed that.
|
||||||
#
|
#
|
||||||
FOUND /mysqld(\.exe)? \(root\[root\] @ localhost \[(::1)?\]\): Normal shutdown/ in mysqld.1.err
|
FOUND 2 /mysqld(\.exe)? \(root\[root\] @ localhost \[(::1)?\]\): Normal shutdown/ in mysqld.1.err
|
||||||
|
@ -5479,7 +5479,7 @@ DROP FUNCTION f1;
|
|||||||
DROP VIEW v1;
|
DROP VIEW v1;
|
||||||
DROP TABLE t1, t2;
|
DROP TABLE t1, t2;
|
||||||
create view v1 as select 1;
|
create view v1 as select 1;
|
||||||
FOUND /mariadb-version/ in v1.frm
|
FOUND 1 /mariadb-version/ in v1.frm
|
||||||
drop view v1;
|
drop view v1;
|
||||||
#
|
#
|
||||||
# MDEV-7260: Crash in get_best_combination when executing multi-table
|
# MDEV-7260: Crash in get_best_combination when executing multi-table
|
||||||
|
@ -2,5 +2,5 @@ set global log_warnings=2;
|
|||||||
connect foo,localhost,root;
|
connect foo,localhost,root;
|
||||||
set @@wait_timeout=1;
|
set @@wait_timeout=1;
|
||||||
connection default;
|
connection default;
|
||||||
FOUND /Aborted.*Got timeout reading communication packets/ in mysqld.1.err
|
FOUND 1 /Aborted.*Got timeout reading communication packets/ in mysqld.1.err
|
||||||
set global log_warnings=@@log_warnings;
|
set global log_warnings=@@log_warnings;
|
||||||
|
@ -598,23 +598,23 @@ DROP SERVER server_name_to_encrypt;
|
|||||||
#############################
|
#############################
|
||||||
# Final checks for the master
|
# Final checks for the master
|
||||||
#############################
|
#############################
|
||||||
NOT FOUND /_to_encrypt/ in master-bin.0*
|
NOT FOUND /_to_encrypt.*/ in master-bin.0*
|
||||||
NOT FOUND /COMMIT/ in master-bin.0*
|
NOT FOUND /COMMIT.*/ in master-bin.0*
|
||||||
NOT FOUND /TIMESTAMP/ in master-bin.0*
|
NOT FOUND /TIMESTAMP.*/ in master-bin.0*
|
||||||
include/save_master_pos.inc
|
include/save_master_pos.inc
|
||||||
#############################
|
#############################
|
||||||
# Final checks for the slave
|
# Final checks for the slave
|
||||||
#############################
|
#############################
|
||||||
connection server_2;
|
connection server_2;
|
||||||
include/sync_io_with_master.inc
|
include/sync_io_with_master.inc
|
||||||
FOUND /_to_encrypt/ in slave-relay-bin.0*
|
FOUND 1 /_to_encrypt.*/ in slave-relay-bin.0*
|
||||||
FOUND /COMMIT/ in slave-relay-bin.0*
|
FOUND 1 /COMMIT.*/ in slave-relay-bin.0*
|
||||||
FOUND /TIMESTAMP/ in slave-relay-bin.0*
|
FOUND 1 /TIMESTAMP.*/ in slave-relay-bin.0*
|
||||||
include/start_slave.inc
|
include/start_slave.inc
|
||||||
include/sync_slave_sql_with_io.inc
|
include/sync_slave_sql_with_io.inc
|
||||||
FOUND /_to_encrypt/ in slave-bin.0*
|
FOUND 1 /_to_encrypt.*/ in slave-bin.0*
|
||||||
FOUND /COMMIT/ in slave-bin.0*
|
FOUND 1 /COMMIT.*/ in slave-bin.0*
|
||||||
FOUND /TIMESTAMP/ in slave-bin.0*
|
FOUND 1 /TIMESTAMP.*/ in slave-bin.0*
|
||||||
##########
|
##########
|
||||||
# Cleanup
|
# Cleanup
|
||||||
##########
|
##########
|
||||||
|
@ -106,16 +106,17 @@ SET binlog_row_image= MINIMAL;
|
|||||||
|
|
||||||
--let $master_datadir= `SELECT @@datadir`
|
--let $master_datadir= `SELECT @@datadir`
|
||||||
|
|
||||||
|
--let SEARCH_RANGE = 500000
|
||||||
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
||||||
--let SEARCH_PATTERN= _to_encrypt
|
--let SEARCH_PATTERN= _to_encrypt.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
||||||
--let SEARCH_PATTERN= COMMIT
|
--let SEARCH_PATTERN= COMMIT.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
||||||
--let SEARCH_PATTERN= TIMESTAMP
|
--let SEARCH_PATTERN= TIMESTAMP.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--disable_connect_log
|
--disable_connect_log
|
||||||
@ -138,15 +139,15 @@ SET binlog_row_image= MINIMAL;
|
|||||||
# Check that relay logs are unencrypted
|
# Check that relay logs are unencrypted
|
||||||
|
|
||||||
--let SEARCH_FILE= $slave_datadir/slave-relay-bin.0*
|
--let SEARCH_FILE= $slave_datadir/slave-relay-bin.0*
|
||||||
--let SEARCH_PATTERN= _to_encrypt
|
--let SEARCH_PATTERN= _to_encrypt.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--let SEARCH_FILE= $slave_datadir/slave-relay-bin.0*
|
--let SEARCH_FILE= $slave_datadir/slave-relay-bin.0*
|
||||||
--let SEARCH_PATTERN= COMMIT
|
--let SEARCH_PATTERN= COMMIT.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--let SEARCH_FILE= $slave_datadir/slave-relay-bin.0*
|
--let SEARCH_FILE= $slave_datadir/slave-relay-bin.0*
|
||||||
--let SEARCH_PATTERN= TIMESTAMP
|
--let SEARCH_PATTERN= TIMESTAMP.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
|
|
||||||
@ -158,15 +159,15 @@ SET binlog_row_image= MINIMAL;
|
|||||||
--enable_connect_log
|
--enable_connect_log
|
||||||
|
|
||||||
--let SEARCH_FILE= $slave_datadir/slave-bin.0*
|
--let SEARCH_FILE= $slave_datadir/slave-bin.0*
|
||||||
--let SEARCH_PATTERN= _to_encrypt
|
--let SEARCH_PATTERN= _to_encrypt.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--let SEARCH_FILE= $slave_datadir/slave-bin.0*
|
--let SEARCH_FILE= $slave_datadir/slave-bin.0*
|
||||||
--let SEARCH_PATTERN= COMMIT
|
--let SEARCH_PATTERN= COMMIT.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--let SEARCH_FILE= $slave_datadir/slave-bin.0*
|
--let SEARCH_FILE= $slave_datadir/slave-bin.0*
|
||||||
--let SEARCH_PATTERN= TIMESTAMP
|
--let SEARCH_PATTERN= TIMESTAMP.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--echo ##########
|
--echo ##########
|
||||||
|
@ -58,6 +58,7 @@ INSERT INTO table1_to_encrypt SELECT NULL,NOW(),b FROM table1_to_encrypt;
|
|||||||
|
|
||||||
# Make sure that binary logs are encrypted
|
# Make sure that binary logs are encrypted
|
||||||
|
|
||||||
|
--let SEARCH_RANGE = 500000
|
||||||
--let SEARCH_FILE= master-bin.0*
|
--let SEARCH_FILE= master-bin.0*
|
||||||
--let SEARCH_PATTERN= table1_to_encrypt
|
--let SEARCH_PATTERN= table1_to_encrypt
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
@ -52,6 +52,7 @@ INSERT INTO table1_no_encryption SELECT NULL,NOW(),b FROM table1_no_encryption;
|
|||||||
|
|
||||||
# Make sure that binary logs are not encrypted
|
# Make sure that binary logs are not encrypted
|
||||||
|
|
||||||
|
--let SEARCH_RANGE = 500000
|
||||||
--let SEARCH_FILE= master-bin.0*
|
--let SEARCH_FILE= master-bin.0*
|
||||||
--let SEARCH_PATTERN= table1_no_encryption
|
--let SEARCH_PATTERN= table1_no_encryption
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
@ -149,9 +149,9 @@ DROP SERVER server_name_to_encrypt;
|
|||||||
#################
|
#################
|
||||||
# Master binlog checks
|
# Master binlog checks
|
||||||
#################
|
#################
|
||||||
FOUND /_to_encrypt/ in master-bin.0*
|
FOUND 1 /_to_encrypt.*/ in master-bin.0*
|
||||||
FOUND /COMMIT/ in master-bin.0*
|
FOUND 1 /COMMIT.*/ in master-bin.0*
|
||||||
FOUND /TIMESTAMP/ in master-bin.0*
|
FOUND 1 /TIMESTAMP.*/ in master-bin.0*
|
||||||
include/save_master_pos.inc
|
include/save_master_pos.inc
|
||||||
#################
|
#################
|
||||||
# Relay log checks
|
# Relay log checks
|
||||||
|
@ -42,16 +42,17 @@
|
|||||||
|
|
||||||
--let $master_datadir= `SELECT @@datadir`
|
--let $master_datadir= `SELECT @@datadir`
|
||||||
|
|
||||||
|
--let SEARCH_RANGE = 500000
|
||||||
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
||||||
--let SEARCH_PATTERN= _to_encrypt
|
--let SEARCH_PATTERN= _to_encrypt.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
||||||
--let SEARCH_PATTERN= COMMIT
|
--let SEARCH_PATTERN= COMMIT.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
||||||
--let SEARCH_PATTERN= TIMESTAMP
|
--let SEARCH_PATTERN= TIMESTAMP.*
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--disable_connect_log
|
--disable_connect_log
|
||||||
|
@ -19,7 +19,7 @@ FLUSH BINARY LOGS;
|
|||||||
SET binlog_format=ROW;
|
SET binlog_format=ROW;
|
||||||
INSERT INTO table1_no_encryption SELECT NULL,NOW(),b FROM table1_no_encryption;
|
INSERT INTO table1_no_encryption SELECT NULL,NOW(),b FROM table1_no_encryption;
|
||||||
INSERT INTO table1_no_encryption SELECT NULL,NOW(),b FROM table1_no_encryption;
|
INSERT INTO table1_no_encryption SELECT NULL,NOW(),b FROM table1_no_encryption;
|
||||||
FOUND /table1_no_encryption/ in master-bin.0*
|
FOUND 11 /table1_no_encryption/ in master-bin.0*
|
||||||
#####################################################
|
#####################################################
|
||||||
# Part 2: restart master, now with binlog encryption
|
# Part 2: restart master, now with binlog encryption
|
||||||
#####################################################
|
#####################################################
|
||||||
|
@ -52,6 +52,7 @@ INSERT INTO table1_no_encryption SELECT NULL,NOW(),b FROM table1_no_encryption;
|
|||||||
|
|
||||||
--let $master_datadir= `SELECT @@datadir`
|
--let $master_datadir= `SELECT @@datadir`
|
||||||
|
|
||||||
|
--let SEARCH_RANGE = 500000
|
||||||
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
--let SEARCH_FILE= $master_datadir/master-bin.0*
|
||||||
--let SEARCH_PATTERN= table1_no_encryption
|
--let SEARCH_PATTERN= table1_no_encryption
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
@ -174,7 +174,7 @@ INSERT INTO t4 VALUES (2);
|
|||||||
connection slave;
|
connection slave;
|
||||||
include/wait_for_slave_sql_error.inc [errno=1590]
|
include/wait_for_slave_sql_error.inc [errno=1590]
|
||||||
Last_SQL_Error = 'The incident LOST_EVENTS occurred on the master. Message: error writing to the binary log'
|
Last_SQL_Error = 'The incident LOST_EVENTS occurred on the master. Message: error writing to the binary log'
|
||||||
FOUND /Slave SQL: The incident LOST_EVENTS occurred on the master\. Message: error writing to the binary log, Internal MariaDB error code: 1590/ in mysqld.2.err
|
FOUND 1 /Slave SQL: The incident LOST_EVENTS occurred on the master\. Message: error writing to the binary log, Internal MariaDB error code: 1590/ in mysqld.2.err
|
||||||
SELECT * FROM t4 ORDER BY a;
|
SELECT * FROM t4 ORDER BY a;
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
|
@ -7,5 +7,6 @@
|
|||||||
--echo #
|
--echo #
|
||||||
|
|
||||||
--let SEARCH_FILE=$datadir/master-bin.0*
|
--let SEARCH_FILE=$datadir/master-bin.0*
|
||||||
|
--let SEARCH_RANGE = 500000
|
||||||
--let SEARCH_PATTERN= xxxxxxxxxxx
|
--let SEARCH_PATTERN= xxxxxxxxxxx
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
@ -21,7 +21,7 @@ NOT FOUND /foobar/ in t1.ibd
|
|||||||
# t2 ... on expecting NOT FOUND
|
# t2 ... on expecting NOT FOUND
|
||||||
NOT FOUND /temp/ in t2.ibd
|
NOT FOUND /temp/ in t2.ibd
|
||||||
# t3 no on expecting FOUND
|
# t3 no on expecting FOUND
|
||||||
FOUND /dummy/ in t3.ibd
|
FOUND 42 /dummy/ in t3.ibd
|
||||||
# ibdata1 expecting NOT FOUND
|
# ibdata1 expecting NOT FOUND
|
||||||
NOT FOUND /foobar/ in ibdata1
|
NOT FOUND /foobar/ in ibdata1
|
||||||
# Now turn off encryption and wait for threads to decrypt everything
|
# Now turn off encryption and wait for threads to decrypt everything
|
||||||
@ -43,7 +43,7 @@ NOT FOUND /foobar/ in t1.ibd
|
|||||||
# t2 ... on expecting FOUND
|
# t2 ... on expecting FOUND
|
||||||
NOT FOUND /temp/ in t2.ibd
|
NOT FOUND /temp/ in t2.ibd
|
||||||
# t3 no on expecting FOUND
|
# t3 no on expecting FOUND
|
||||||
FOUND /dummy/ in t3.ibd
|
FOUND 42 /dummy/ in t3.ibd
|
||||||
# ibdata1 expecting NOT FOUND
|
# ibdata1 expecting NOT FOUND
|
||||||
NOT FOUND /foobar/ in ibdata1
|
NOT FOUND /foobar/ in ibdata1
|
||||||
# Now turn on encryption and wait for threads to encrypt all spaces
|
# Now turn on encryption and wait for threads to encrypt all spaces
|
||||||
@ -65,7 +65,7 @@ NOT FOUND /foobar/ in t1.ibd
|
|||||||
# t2 ... on expecting NOT FOUND
|
# t2 ... on expecting NOT FOUND
|
||||||
NOT FOUND /temp/ in t2.ibd
|
NOT FOUND /temp/ in t2.ibd
|
||||||
# t3 no on expecting FOUND
|
# t3 no on expecting FOUND
|
||||||
FOUND /dummy/ in t3.ibd
|
FOUND 42 /dummy/ in t3.ibd
|
||||||
# ibdata1 expecting NOT FOUND
|
# ibdata1 expecting NOT FOUND
|
||||||
NOT FOUND /foobar/ in ibdata1
|
NOT FOUND /foobar/ in ibdata1
|
||||||
drop table t1, t2, t3;
|
drop table t1, t2, t3;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
call mtr.add_suppression("System key id 1 is missing at");
|
call mtr.add_suppression("System key id 1 is missing at");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /System key id 1 is missing at/ in mysqld.1.err
|
FOUND 1 /System key id 1 is missing at/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
call mtr.add_suppression("Cannot decrypt .*filekeys-data.enc. Wrong key");
|
call mtr.add_suppression("Cannot decrypt .*filekeys-data.enc. Wrong key");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Cannot decrypt .*filekeys-data.enc. Wrong key/ in mysqld.1.err
|
FOUND 1 /Cannot decrypt .*filekeys-data.enc. Wrong key/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
call mtr.add_suppression("File 'bad' not found");
|
call mtr.add_suppression("File 'bad' not found");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /File 'bad' not found/ in mysqld.1.err
|
FOUND 1 /File 'bad' not found/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
call mtr.add_suppression("Cannot decrypt .*filekeys-data.enc. Wrong key");
|
call mtr.add_suppression("Cannot decrypt .*filekeys-data.enc. Wrong key");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Cannot decrypt .*filekeys-data.enc. Wrong key/ in mysqld.1.err
|
FOUND 1 /Cannot decrypt .*filekeys-data.enc. Wrong key/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
call mtr.add_suppression("file-key-management-filename is not set");
|
call mtr.add_suppression("file-key-management-filename is not set");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /file-key-management-filename is not set/ in mysqld.1.err
|
FOUND 1 /file-key-management-filename is not set/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
call mtr.add_suppression("File '.*keys.txt' not found");
|
call mtr.add_suppression("File '.*keys.txt' not found");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /File '.*keys.txt' not found/ in mysqld.1.err
|
FOUND 1 /File '.*keys.txt' not found/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -12,7 +12,7 @@ ERROR HY000: Invalid key id at MYSQL_TMP_DIR/keys.txt line 2, column 2
|
|||||||
call mtr.add_suppression("File '.*keys.txt' not found");
|
call mtr.add_suppression("File '.*keys.txt' not found");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /File '.*keys.txt' not found/ in mysqld.1.err
|
FOUND 1 /File '.*keys.txt' not found/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -21,7 +21,7 @@ plugin_status
|
|||||||
call mtr.add_suppression("Invalid key id");
|
call mtr.add_suppression("Invalid key id");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Invalid key id/ in mysqld.1.err
|
FOUND 1 /Invalid key id/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -32,7 +32,7 @@ ERROR HY000: Invalid key id at MYSQL_TMP_DIR/keys.txt line 2, column 11
|
|||||||
call mtr.add_suppression("Invalid key id");
|
call mtr.add_suppression("Invalid key id");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Invalid key id/ in mysqld.1.err
|
FOUND 2 /Invalid key id/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -41,7 +41,7 @@ plugin_status
|
|||||||
call mtr.add_suppression("Invalid key id");
|
call mtr.add_suppression("Invalid key id");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Invalid key id/ in mysqld.1.err
|
FOUND 2 /Invalid key id/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -52,7 +52,7 @@ ERROR HY000: Invalid key at MYSQL_TMP_DIR/keys.txt line 2, column 47
|
|||||||
call mtr.add_suppression("Invalid key id");
|
call mtr.add_suppression("Invalid key id");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Invalid key id/ in mysqld.1.err
|
FOUND 2 /Invalid key id/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -61,7 +61,7 @@ plugin_status
|
|||||||
call mtr.add_suppression("Invalid key");
|
call mtr.add_suppression("Invalid key");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Invalid key/ in mysqld.1.err
|
FOUND 3 /Invalid key/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -72,7 +72,7 @@ ERROR HY000: Invalid key at MYSQL_TMP_DIR/keys.txt line 2, column 33
|
|||||||
call mtr.add_suppression("Invalid key");
|
call mtr.add_suppression("Invalid key");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Invalid key/ in mysqld.1.err
|
FOUND 4 /Invalid key/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -81,7 +81,7 @@ plugin_status
|
|||||||
call mtr.add_suppression("Invalid key");
|
call mtr.add_suppression("Invalid key");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Invalid key/ in mysqld.1.err
|
FOUND 4 /Invalid key/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -92,7 +92,7 @@ ERROR HY000: Syntax error at MYSQL_TMP_DIR/keys.txt line 2, column 2
|
|||||||
call mtr.add_suppression("Invalid key");
|
call mtr.add_suppression("Invalid key");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Invalid key/ in mysqld.1.err
|
FOUND 4 /Invalid key/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -101,7 +101,7 @@ plugin_status
|
|||||||
call mtr.add_suppression("Syntax error");
|
call mtr.add_suppression("Syntax error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Syntax error/ in mysqld.1.err
|
FOUND 1 /Syntax error/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -112,7 +112,7 @@ ERROR HY000: Syntax error at MYSQL_TMP_DIR/keys.txt line 2, column 1
|
|||||||
call mtr.add_suppression("Syntax error");
|
call mtr.add_suppression("Syntax error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Syntax error/ in mysqld.1.err
|
FOUND 2 /Syntax error/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -121,7 +121,7 @@ plugin_status
|
|||||||
call mtr.add_suppression("Syntax error");
|
call mtr.add_suppression("Syntax error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Syntax error/ in mysqld.1.err
|
FOUND 2 /Syntax error/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -132,7 +132,7 @@ ERROR HY000: System key id 1 is missing at MYSQL_TMP_DIR/keys.txt line 1, column
|
|||||||
call mtr.add_suppression("Syntax error");
|
call mtr.add_suppression("Syntax error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Syntax error/ in mysqld.1.err
|
FOUND 2 /Syntax error/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
@ -141,7 +141,7 @@ plugin_status
|
|||||||
call mtr.add_suppression("System key id 1");
|
call mtr.add_suppression("System key id 1");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /System key id 1/ in mysqld.1.err
|
FOUND 1 /System key id 1/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
call mtr.add_suppression("Cannot decrypt .*tooshort.enc. Not encrypted");
|
call mtr.add_suppression("Cannot decrypt .*tooshort.enc. Not encrypted");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Cannot decrypt .*tooshort.enc. Not encrypted/ in mysqld.1.err
|
FOUND 1 /Cannot decrypt .*tooshort.enc. Not encrypted/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
call mtr.add_suppression("Cannot decrypt .*keys.txt. Not encrypted");
|
call mtr.add_suppression("Cannot decrypt .*keys.txt. Not encrypted");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
FOUND /Cannot decrypt .*keys.txt. Not encrypted/ in mysqld.1.err
|
FOUND 1 /Cannot decrypt .*keys.txt. Not encrypted/ in mysqld.1.err
|
||||||
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encrypted=yes encryption_key_id=1;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
|
||||||
select plugin_status from information_schema.plugins
|
select plugin_status from information_schema.plugins
|
||||||
|
@ -99,5 +99,5 @@ NOT FOUND /verysecretmessage/ in t3.ibd
|
|||||||
# t4 page compressed and encrypted expecting NOT FOUND
|
# t4 page compressed and encrypted expecting NOT FOUND
|
||||||
NOT FOUND /verysecretmessage/ in t4.ibd
|
NOT FOUND /verysecretmessage/ in t4.ibd
|
||||||
# t5 normal expecting FOUND
|
# t5 normal expecting FOUND
|
||||||
FOUND /verysecretmessage/ in t5.ibd
|
FOUND 289 /verysecretmessage/ in t5.ibd
|
||||||
DROP TABLE t1,t2,t3,t4,t5,t6;
|
DROP TABLE t1,t2,t3,t4,t5,t6;
|
||||||
|
@ -57,9 +57,9 @@ NOT FOUND /secred/ in t5.ibd
|
|||||||
# t6 on expecting NOT FOUND
|
# t6 on expecting NOT FOUND
|
||||||
NOT FOUND /secred/ in t6.ibd
|
NOT FOUND /secred/ in t6.ibd
|
||||||
# t7 off expecting FOUND
|
# t7 off expecting FOUND
|
||||||
FOUND /public/ in t7.ibd
|
FOUND 1 /public/ in t7.ibd
|
||||||
# t8 row compressed expecting NOT FOUND
|
# t8 row compressed expecting NOT FOUND
|
||||||
FOUND /public/ in t8.ibd
|
FOUND 1 /public/ in t8.ibd
|
||||||
# t9 page compressed expecting NOT FOUND
|
# t9 page compressed expecting NOT FOUND
|
||||||
NOT FOUND /public/ in t9.ibd
|
NOT FOUND /public/ in t9.ibd
|
||||||
use test;
|
use test;
|
||||||
|
@ -51,7 +51,7 @@ INSERT INTO t0 VALUES(NULL, 5, 5, 'public', 'gossip');
|
|||||||
# ib_logfile0 expecting NOT FOUND
|
# ib_logfile0 expecting NOT FOUND
|
||||||
NOT FOUND /private|secret|sacr(ed|ament)|success|story|secur(e|ity)/ in ib_logfile0
|
NOT FOUND /private|secret|sacr(ed|ament)|success|story|secur(e|ity)/ in ib_logfile0
|
||||||
# ib_logfile0 expecting FOUND
|
# ib_logfile0 expecting FOUND
|
||||||
FOUND /public|gossip/ in ib_logfile0
|
FOUND 3 /public|gossip/ in ib_logfile0
|
||||||
# ibdata1 expecting NOT FOUND
|
# ibdata1 expecting NOT FOUND
|
||||||
NOT FOUND /private|secret|sacr(ed|ament)|success|story|secur(e|ity)|public|gossip/ in ibdata1
|
NOT FOUND /private|secret|sacr(ed|ament)|success|story|secur(e|ity)|public|gossip/ in ibdata1
|
||||||
# t0.ibd expecting NOT FOUND
|
# t0.ibd expecting NOT FOUND
|
||||||
|
@ -3,52 +3,52 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2\./ in mysqld.1.err
|
FOUND 1 /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2\./ in mysqld.1.err
|
||||||
# redo log from before MariaDB 10.2.2, with corrupted log checkpoint
|
# redo log from before MariaDB 10.2.2, with corrupted log checkpoint
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2, and we did not find a valid checkpoint/ in mysqld.1.err
|
FOUND 1 /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2, and we did not find a valid checkpoint/ in mysqld.1.err
|
||||||
FOUND /Plugin 'InnoDB' registration as a STORAGE ENGINE failed/ in mysqld.1.err
|
FOUND 2 /Plugin 'InnoDB' registration as a STORAGE ENGINE failed/ in mysqld.1.err
|
||||||
# redo log from before MariaDB 10.2.2, with corrupted log block
|
# redo log from before MariaDB 10.2.2, with corrupted log block
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2, and it appears corrupted/ in mysqld.1.err
|
FOUND 1 /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2, and it appears corrupted/ in mysqld.1.err
|
||||||
# redo log from "after" MariaDB 10.2.2, but with invalid header checksum
|
# redo log from "after" MariaDB 10.2.2, but with invalid header checksum
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Invalid redo log header checksum/ in mysqld.1.err
|
FOUND 1 /InnoDB: Invalid redo log header checksum/ in mysqld.1.err
|
||||||
# distant future redo log format, with valid header checksum
|
# distant future redo log format, with valid header checksum
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Unsupported redo log format. The redo log was created with malicious intentions, or perhaps\. Please follow the instructions at http://dev.mysql.com/doc/refman/5.7/en/upgrading-downgrading.html/ in mysqld.1.err
|
FOUND 1 /InnoDB: Unsupported redo log format. The redo log was created with malicious intentions, or perhaps\. Please follow the instructions at http://dev.mysql.com/doc/refman/5.7/en/upgrading-downgrading.html/ in mysqld.1.err
|
||||||
# valid header, but old-format checkpoint blocks
|
# valid header, but old-format checkpoint blocks
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: No valid checkpoint found .corrupted redo log/ in mysqld.1.err
|
FOUND 1 /InnoDB: No valid checkpoint found .corrupted redo log/ in mysqld.1.err
|
||||||
# valid header, valid checkpoint 1, all-zero (invalid) checkpoint 2, invalid block checksum
|
# valid header, valid checkpoint 1, all-zero (invalid) checkpoint 2, invalid block checksum
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Invalid log block checksum. block: 2372 checkpoint no: 1 expected: 3362026715 found: 144444122/ in mysqld.1.err
|
FOUND 1 /InnoDB: Invalid log block checksum. block: 2372 checkpoint no: 1 expected: 3362026715 found: 144444122/ in mysqld.1.err
|
||||||
FOUND /InnoDB: Missing MLOG_CHECKPOINT between the checkpoint 1213964 and the end 1213952\./ in mysqld.1.err
|
FOUND 1 /InnoDB: Missing MLOG_CHECKPOINT between the checkpoint 1213964 and the end 1213952\./ in mysqld.1.err
|
||||||
# --innodb-force-recovery=6 (skip the entire redo log)
|
# --innodb-force-recovery=6 (skip the entire redo log)
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
InnoDB YES Supports transactions, row-level locking, foreign keys and encryption for tables YES YES YES
|
InnoDB YES Supports transactions, row-level locking, foreign keys and encryption for tables YES YES YES
|
||||||
FOUND /\[Note\] InnoDB: .* started; log sequence number 0/ in mysqld.1.err
|
FOUND 1 /\[Note\] InnoDB: .* started; log sequence number 0/ in mysqld.1.err
|
||||||
# valid header, valid checkpoint 1, all-zero (invalid) checkpoint 2, invalid block number
|
# valid header, valid checkpoint 1, all-zero (invalid) checkpoint 2, invalid block number
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
@ -66,26 +66,26 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Starting crash recovery from checkpoint LSN=1213964/ in mysqld.1.err
|
FOUND 1 /InnoDB: Starting crash recovery from checkpoint LSN=1213964/ in mysqld.1.err
|
||||||
FOUND /InnoDB: MLOG_FILE_NAME incorrect:bogus/ in mysqld.1.err
|
FOUND 1 /InnoDB: MLOG_FILE_NAME incorrect:bogus/ in mysqld.1.err
|
||||||
FOUND /InnoDB: ############### CORRUPT LOG RECORD FOUND ##################/ in mysqld.1.err
|
FOUND 1 /InnoDB: ############### CORRUPT LOG RECORD FOUND ##################/ in mysqld.1.err
|
||||||
FOUND /InnoDB: Log record type 55, page 151:488\. Log parsing proceeded successfully up to 1213973\. Previous log record type 56, is multi 0 Recv offset 9, prev 0/ in mysqld.1.err
|
FOUND 1 /InnoDB: Log record type 55, page 151:488\. Log parsing proceeded successfully up to 1213973\. Previous log record type 56, is multi 0 Recv offset 9, prev 0/ in mysqld.1.err
|
||||||
FOUND /len 22. hex 38000000000012860cb7809781e80006626f67757300. asc 8 bogus / in mysqld.1.err
|
FOUND 1 /len 22. hex 38000000000012860cb7809781e80006626f67757300. asc 8 bogus / in mysqld.1.err
|
||||||
FOUND /InnoDB: Set innodb_force_recovery to ignore this error/ in mysqld.1.err
|
FOUND 1 /InnoDB: Set innodb_force_recovery to ignore this error/ in mysqld.1.err
|
||||||
# Test a corrupted MLOG_FILE_NAME record.
|
# Test a corrupted MLOG_FILE_NAME record.
|
||||||
# valid header, invalid checkpoint 1, valid checkpoint 2, invalid block
|
# valid header, invalid checkpoint 1, valid checkpoint 2, invalid block
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Invalid log block checksum. block: 2372 checkpoint no: 1 expected: 2454333373 found: 150151/ in mysqld.1.err
|
FOUND 1 /InnoDB: Invalid log block checksum. block: 2372 checkpoint no: 1 expected: 2454333373 found: 150151/ in mysqld.1.err
|
||||||
# valid header, invalid checkpoint 1, valid checkpoint 2, invalid log record
|
# valid header, invalid checkpoint 1, valid checkpoint 2, invalid log record
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: MLOG_FILE_NAME incorrect:bigot/ in mysqld.1.err
|
FOUND 1 /InnoDB: MLOG_FILE_NAME incorrect:bigot/ in mysqld.1.err
|
||||||
FOUND /len 22; hex 38000000000012860cb7809781e800066269676f7400; asc 8 bigot ;/ in mysqld.1.err
|
FOUND 1 /len 22; hex 38000000000012860cb7809781e800066269676f7400; asc 8 bigot ;/ in mysqld.1.err
|
||||||
# missing MLOG_FILE_NAME or MLOG_FILE_DELETE before MLOG_CHECKPOINT
|
# missing MLOG_FILE_NAME or MLOG_FILE_DELETE before MLOG_CHECKPOINT
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
@ -97,7 +97,7 @@ SELECT COUNT(*) `1` FROM INFORMATION_SCHEMA.ENGINES WHERE engine='innodb'
|
|||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
1
|
1
|
||||||
1
|
1
|
||||||
FOUND /InnoDB: Encrypting redo log/ in mysqld.1.err
|
FOUND 1 /InnoDB: Encrypting redo log/ in mysqld.1.err
|
||||||
ib_buffer_pool
|
ib_buffer_pool
|
||||||
ib_logfile0
|
ib_logfile0
|
||||||
ib_logfile1
|
ib_logfile1
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
--let t2_IBD = $MYSQLD_DATADIR/test/t2.ibd
|
--let t2_IBD = $MYSQLD_DATADIR/test/t2.ibd
|
||||||
--let t3_IBD = $MYSQLD_DATADIR/test/t3.ibd
|
--let t3_IBD = $MYSQLD_DATADIR/test/t3.ibd
|
||||||
--let SEARCH_RANGE = 10000000
|
--let SEARCH_RANGE = 10000000
|
||||||
--let SEARCH_PATTERN=foobar
|
|
||||||
|
|
||||||
SET GLOBAL innodb_file_per_table = ON;
|
SET GLOBAL innodb_file_per_table = ON;
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@ call mtr.add_suppression("Plugin 'file_key_management' init function returned er
|
|||||||
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
||||||
|
|
||||||
--let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err
|
--let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err
|
||||||
--let SEARCH_RANGE= -10000
|
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--error ER_CANT_CREATE_TABLE
|
--error ER_CANT_CREATE_TABLE
|
||||||
|
@ -38,7 +38,7 @@ SELECT b FROM t1 LIMIT 3;
|
|||||||
ERROR HY000: Lost connection to MySQL server during query
|
ERROR HY000: Lost connection to MySQL server during query
|
||||||
disconnect con1;
|
disconnect con1;
|
||||||
connection default;
|
connection default;
|
||||||
FOUND /Wrote log record for ibuf update in place operation/ in my_restart.err
|
FOUND 1 /Wrote log record for ibuf update in place operation/ in my_restart.err
|
||||||
CHECK TABLE t1;
|
CHECK TABLE t1;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 check status OK
|
test.t1 check status OK
|
||||||
|
@ -10,6 +10,8 @@ INSERT INTO t1 VALUES (1,2);
|
|||||||
ALTER TABLE t1 ADD PRIMARY KEY(a), ALGORITHM=INPLACE;
|
ALTER TABLE t1 ADD PRIMARY KEY(a), ALGORITHM=INPLACE;
|
||||||
ALTER TABLE t1 DROP INDEX b, ADD INDEX (b);
|
ALTER TABLE t1 DROP INDEX b, ADD INDEX (b);
|
||||||
# Kill the server
|
# Kill the server
|
||||||
|
FOUND 1 /scan .*: multi-log rec MLOG_FILE_CREATE2.*page .*:0/ in mysqld.1.err
|
||||||
|
FOUND 1 /scan .*: log rec MLOG_INDEX_LOAD/ in mysqld.1.err
|
||||||
CHECK TABLE t1;
|
CHECK TABLE t1;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 check status OK
|
test.t1 check status OK
|
||||||
|
@ -3,52 +3,52 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2\./ in mysqld.1.err
|
FOUND 1 /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2\./ in mysqld.1.err
|
||||||
# redo log from before MariaDB 10.2.2, with corrupted log checkpoint
|
# redo log from before MariaDB 10.2.2, with corrupted log checkpoint
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2, and we did not find a valid checkpoint/ in mysqld.1.err
|
FOUND 1 /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2, and we did not find a valid checkpoint/ in mysqld.1.err
|
||||||
FOUND /Plugin 'InnoDB' registration as a STORAGE ENGINE failed/ in mysqld.1.err
|
FOUND 2 /Plugin 'InnoDB' registration as a STORAGE ENGINE failed/ in mysqld.1.err
|
||||||
# redo log from before MariaDB 10.2.2, with corrupted log block
|
# redo log from before MariaDB 10.2.2, with corrupted log block
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2, and it appears corrupted/ in mysqld.1.err
|
FOUND 1 /InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10\.2\.2, and it appears corrupted/ in mysqld.1.err
|
||||||
# redo log from "after" MariaDB 10.2.2, but with invalid header checksum
|
# redo log from "after" MariaDB 10.2.2, but with invalid header checksum
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Invalid redo log header checksum/ in mysqld.1.err
|
FOUND 1 /InnoDB: Invalid redo log header checksum/ in mysqld.1.err
|
||||||
# distant future redo log format, with valid header checksum
|
# distant future redo log format, with valid header checksum
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Unsupported redo log format. The redo log was created with malicious intentions, or perhaps\. Please follow the instructions at http://dev.mysql.com/doc/refman/5.7/en/upgrading-downgrading.html/ in mysqld.1.err
|
FOUND 1 /InnoDB: Unsupported redo log format. The redo log was created with malicious intentions, or perhaps\. Please follow the instructions at http://dev.mysql.com/doc/refman/5.7/en/upgrading-downgrading.html/ in mysqld.1.err
|
||||||
# valid header, but old-format checkpoint blocks
|
# valid header, but old-format checkpoint blocks
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: No valid checkpoint found .corrupted redo log/ in mysqld.1.err
|
FOUND 1 /InnoDB: No valid checkpoint found .corrupted redo log/ in mysqld.1.err
|
||||||
# valid header, valid checkpoint 1, all-zero (invalid) checkpoint 2, invalid block checksum
|
# valid header, valid checkpoint 1, all-zero (invalid) checkpoint 2, invalid block checksum
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Invalid log block checksum. block: 2372 checkpoint no: 1 expected: 3362026715 found: 144444122/ in mysqld.1.err
|
FOUND 1 /InnoDB: Invalid log block checksum. block: 2372 checkpoint no: 1 expected: 3362026715 found: 144444122/ in mysqld.1.err
|
||||||
FOUND /InnoDB: Missing MLOG_CHECKPOINT between the checkpoint 1213964 and the end 1213952\./ in mysqld.1.err
|
FOUND 1 /InnoDB: Missing MLOG_CHECKPOINT between the checkpoint 1213964 and the end 1213952\./ in mysqld.1.err
|
||||||
# --innodb-force-recovery=6 (skip the entire redo log)
|
# --innodb-force-recovery=6 (skip the entire redo log)
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
InnoDB YES Supports transactions, row-level locking, foreign keys and encryption for tables YES YES YES
|
InnoDB YES Supports transactions, row-level locking, foreign keys and encryption for tables YES YES YES
|
||||||
FOUND /\[Note\] InnoDB: .* started; log sequence number 0/ in mysqld.1.err
|
FOUND 1 /\[Note\] InnoDB: .* started; log sequence number 0/ in mysqld.1.err
|
||||||
# valid header, valid checkpoint 1, all-zero (invalid) checkpoint 2, invalid block number
|
# valid header, valid checkpoint 1, all-zero (invalid) checkpoint 2, invalid block number
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
@ -66,26 +66,26 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Starting crash recovery from checkpoint LSN=1213964/ in mysqld.1.err
|
FOUND 1 /InnoDB: Starting crash recovery from checkpoint LSN=1213964/ in mysqld.1.err
|
||||||
FOUND /InnoDB: MLOG_FILE_NAME incorrect:bogus/ in mysqld.1.err
|
FOUND 1 /InnoDB: MLOG_FILE_NAME incorrect:bogus/ in mysqld.1.err
|
||||||
FOUND /InnoDB: ############### CORRUPT LOG RECORD FOUND ##################/ in mysqld.1.err
|
FOUND 1 /InnoDB: ############### CORRUPT LOG RECORD FOUND ##################/ in mysqld.1.err
|
||||||
FOUND /InnoDB: Log record type 55, page 151:488\. Log parsing proceeded successfully up to 1213973\. Previous log record type 56, is multi 0 Recv offset 9, prev 0/ in mysqld.1.err
|
FOUND 1 /InnoDB: Log record type 55, page 151:488\. Log parsing proceeded successfully up to 1213973\. Previous log record type 56, is multi 0 Recv offset 9, prev 0/ in mysqld.1.err
|
||||||
FOUND /len 22. hex 38000000000012860cb7809781e80006626f67757300. asc 8 bogus / in mysqld.1.err
|
FOUND 1 /len 22. hex 38000000000012860cb7809781e80006626f67757300. asc 8 bogus / in mysqld.1.err
|
||||||
FOUND /InnoDB: Set innodb_force_recovery to ignore this error/ in mysqld.1.err
|
FOUND 1 /InnoDB: Set innodb_force_recovery to ignore this error/ in mysqld.1.err
|
||||||
# Test a corrupted MLOG_FILE_NAME record.
|
# Test a corrupted MLOG_FILE_NAME record.
|
||||||
# valid header, invalid checkpoint 1, valid checkpoint 2, invalid block
|
# valid header, invalid checkpoint 1, valid checkpoint 2, invalid block
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Invalid log block checksum. block: 2372 checkpoint no: 1 expected: 2454333373 found: 150151/ in mysqld.1.err
|
FOUND 1 /InnoDB: Invalid log block checksum. block: 2372 checkpoint no: 1 expected: 2454333373 found: 150151/ in mysqld.1.err
|
||||||
# valid header, invalid checkpoint 1, valid checkpoint 2, invalid log record
|
# valid header, invalid checkpoint 1, valid checkpoint 2, invalid log record
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: MLOG_FILE_NAME incorrect:bigot/ in mysqld.1.err
|
FOUND 1 /InnoDB: MLOG_FILE_NAME incorrect:bigot/ in mysqld.1.err
|
||||||
FOUND /len 22; hex 38000000000012860cb7809781e800066269676f7400; asc 8 bigot ;/ in mysqld.1.err
|
FOUND 1 /len 22; hex 38000000000012860cb7809781e800066269676f7400; asc 8 bigot ;/ in mysqld.1.err
|
||||||
# missing MLOG_FILE_NAME or MLOG_FILE_DELETE before MLOG_CHECKPOINT
|
# missing MLOG_FILE_NAME or MLOG_FILE_DELETE before MLOG_CHECKPOINT
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
@ -97,8 +97,8 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Obtaining redo log encryption key version 1 failed/ in mysqld.1.err
|
FOUND 1 /InnoDB: Obtaining redo log encryption key version 1 failed/ in mysqld.1.err
|
||||||
FOUND /InnoDB: Decrypting checkpoint failed/ in mysqld.1.err
|
FOUND 1 /InnoDB: Decrypting checkpoint failed/ in mysqld.1.err
|
||||||
ib_buffer_pool
|
ib_buffer_pool
|
||||||
ib_logfile0
|
ib_logfile0
|
||||||
ib_logfile1
|
ib_logfile1
|
||||||
|
@ -6,14 +6,14 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /\[ERROR\] InnoDB: Could not create undo tablespace '.*undo002'/ in mysqld.1.err
|
FOUND 1 /\[ERROR\] InnoDB: Could not create undo tablespace '.*undo002'/ in mysqld.1.err
|
||||||
# Remove undo001,undo002,ibdata1,ibdata2,ib_logfile1,ib_logfile2,ib_logfile101
|
# Remove undo001,undo002,ibdata1,ibdata2,ib_logfile1,ib_logfile2,ib_logfile101
|
||||||
# Start mysqld with non existent innodb_log_group_home_dir
|
# Start mysqld with non existent innodb_log_group_home_dir
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /File .path.to.non-existent.*ib_logfile101: 'create' returned OS error \d+/ in mysqld.1.err
|
FOUND 1 /File .path.to.non-existent.*ib_logfile101: 'create' returned OS error \d+/ in mysqld.1.err
|
||||||
# Remove ibdata1 & ibdata2
|
# Remove ibdata1 & ibdata2
|
||||||
# Successfully let InnoDB create tablespaces
|
# Successfully let InnoDB create tablespaces
|
||||||
SELECT COUNT(*) `1` FROM INFORMATION_SCHEMA.ENGINES
|
SELECT COUNT(*) `1` FROM INFORMATION_SCHEMA.ENGINES
|
||||||
@ -27,7 +27,7 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /The innodb_system data file 'ibdata1' was not found but one of the other data files 'ibdata2' exists/ in mysqld.1.err
|
FOUND 1 /The innodb_system data file 'ibdata1' was not found but one of the other data files 'ibdata2' exists/ in mysqld.1.err
|
||||||
bak_ib_logfile0
|
bak_ib_logfile0
|
||||||
bak_ib_logfile1
|
bak_ib_logfile1
|
||||||
bak_ib_logfile2
|
bak_ib_logfile2
|
||||||
@ -49,8 +49,8 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Tablespace size stored in header is \d+ pages, but the sum of data file sizes is \d+ pages/ in mysqld.1.err
|
FOUND 1 /InnoDB: Tablespace size stored in header is \d+ pages, but the sum of data file sizes is \d+ pages/ in mysqld.1.err
|
||||||
FOUND /InnoDB: Cannot start InnoDB. The tail of the system tablespace is missing/ in mysqld.1.err
|
FOUND 1 /InnoDB: Cannot start InnoDB. The tail of the system tablespace is missing/ in mysqld.1.err
|
||||||
bak_ib_logfile0
|
bak_ib_logfile0
|
||||||
bak_ib_logfile1
|
bak_ib_logfile1
|
||||||
bak_ib_logfile2
|
bak_ib_logfile2
|
||||||
@ -88,7 +88,7 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: undo tablespace .*undo001.* exists\. Creating system tablespace with existing undo tablespaces is not supported\. Please delete all undo tablespaces before creating new system tablespace\./ in mysqld.1.err
|
FOUND 1 /InnoDB: undo tablespace .*undo001.* exists\. Creating system tablespace with existing undo tablespaces is not supported\. Please delete all undo tablespaces before creating new system tablespace\./ in mysqld.1.err
|
||||||
bak_ib_logfile0
|
bak_ib_logfile0
|
||||||
bak_ib_logfile1
|
bak_ib_logfile1
|
||||||
bak_ib_logfile2
|
bak_ib_logfile2
|
||||||
@ -175,7 +175,7 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /undo tablespace .*undo003.* exists\. Creating system tablespace with existing undo tablespaces is not supported\. Please delete all undo tablespaces before creating new system tablespace\./ in mysqld.1.err
|
FOUND 1 /undo tablespace .*undo003.* exists\. Creating system tablespace with existing undo tablespaces is not supported\. Please delete all undo tablespaces before creating new system tablespace\./ in mysqld.1.err
|
||||||
bak_ib_logfile0
|
bak_ib_logfile0
|
||||||
bak_ib_logfile1
|
bak_ib_logfile1
|
||||||
bak_ib_logfile2
|
bak_ib_logfile2
|
||||||
@ -207,7 +207,7 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /Expected to open 3 undo tablespaces but was able to find only 1 undo tablespaces/ in mysqld.1.err
|
FOUND 1 /Expected to open 3 undo tablespaces but was able to find only 1 undo tablespaces/ in mysqld.1.err
|
||||||
bak_ib_logfile0
|
bak_ib_logfile0
|
||||||
bak_ib_logfile1
|
bak_ib_logfile1
|
||||||
bak_ib_logfile2
|
bak_ib_logfile2
|
||||||
@ -244,7 +244,7 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /Expected to open 3 undo tablespaces but was able to find only 0 undo tablespaces/ in mysqld.1.err
|
FOUND 1 /Expected to open 3 undo tablespaces but was able to find only 0 undo tablespaces/ in mysqld.1.err
|
||||||
bak_ib_logfile0
|
bak_ib_logfile0
|
||||||
bak_ib_logfile1
|
bak_ib_logfile1
|
||||||
bak_ib_logfile2
|
bak_ib_logfile2
|
||||||
@ -340,7 +340,7 @@ WHERE engine='innodb'
|
|||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
1
|
1
|
||||||
1
|
1
|
||||||
FOUND /Resizing redo log from 1\*\d+ to 3\*\d+ pages; LSN=\d+/ in mysqld.1.err
|
FOUND 1 /Resizing redo log from 1\*\d+ to 3\*\d+ pages; LSN=\d+/ in mysqld.1.err
|
||||||
# Cleanup
|
# Cleanup
|
||||||
bak_ib_logfile0
|
bak_ib_logfile0
|
||||||
bak_ib_logfile1
|
bak_ib_logfile1
|
||||||
|
@ -14,30 +14,30 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Ignoring data file '.*t2.ibd' with space ID \d+. Another data file called .*t1.ibd exists with the same space ID/ in mysqld.1.err
|
FOUND 1 /InnoDB: Ignoring data file '.*t2.ibd' with space ID \d+. Another data file called .*t1.ibd exists with the same space ID.*/ in mysqld.1.err
|
||||||
# Fault 2: Wrong space_id in a dirty file, and a missing file.
|
# Fault 2: Wrong space_id in a dirty file, and a missing file.
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Ignoring data file '.*t1.ibd' with space ID/ in mysqld.1.err
|
FOUND 1 /InnoDB: Ignoring data file '.*t1.ibd' with space ID.*/ in mysqld.1.err
|
||||||
FOUND /InnoDB: Tablespace \d+ was not found at.*t3.ibd/ in mysqld.1.err
|
FOUND 1 /InnoDB: Tablespace \d+ was not found at.*t3.ibd.*/ in mysqld.1.err
|
||||||
# Fault 3: Wrong space_id in a dirty file, and no missing file.
|
# Fault 3: Wrong space_id in a dirty file, and no missing file.
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Ignoring data file '.*t[23].ibd' with space ID/ in mysqld.1.err
|
FOUND 1 /InnoDB: Ignoring data file '.*t[23].ibd' with space ID.*/ in mysqld.1.err
|
||||||
FOUND /InnoDB: Tablespace \d+ was not found at .*t1.ibd/ in mysqld.1.err
|
FOUND 1 /InnoDB: Tablespace \d+ was not found at .*t1.ibd.*/ in mysqld.1.err
|
||||||
FOUND /InnoDB: Tablespace \d+ was not found at .*t3.ibd/ in mysqld.1.err
|
FOUND 1 /InnoDB: Tablespace \d+ was not found at .*t3.ibd.*/ in mysqld.1.err
|
||||||
FOUND /InnoDB: Set innodb_force_recovery=1 to ignore this and to permanently lose all changes to the tablespace/ in mysqld.1.err
|
FOUND 1 /InnoDB: Set innodb_force_recovery=1 to ignore this and to permanently lose all changes to the tablespace.*/ in mysqld.1.err
|
||||||
# Fault 4: Missing data file
|
# Fault 4: Missing data file
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /InnoDB: Tablespace \d+ was not found at .*t[12].ibd.
|
FOUND 1 /InnoDB: Tablespace \d+ was not found at .*t[12].ibd.
|
||||||
.*InnoDB: Set innodb_force_recovery=1 to ignore this and to permanently lose all changes to the tablespace/ in mysqld.1.err
|
.*InnoDB: Set innodb_force_recovery=1 to ignore this and to permanently lose all changes to the tablespace.*/ in mysqld.1.err
|
||||||
# Fault 5: Wrong type of data file
|
# Fault 5: Wrong type of data file
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
@ -47,8 +47,8 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /\[ERROR\] InnoDB: Cannot read first page of .*t2.ibd/ in mysqld.1.err
|
FOUND 1 /\[ERROR\] InnoDB: Cannot read first page of .*t2.ibd.*/ in mysqld.1.err
|
||||||
FOUND /\[ERROR\] InnoDB: Datafile .*t2.*\. Cannot determine the space ID from the first 64 pages/ in mysqld.1.err
|
FOUND 1 /\[ERROR\] InnoDB: Datafile .*t2.*\. Cannot determine the space ID from the first 64 pages.*/ in mysqld.1.err
|
||||||
SELECT * FROM t2;
|
SELECT * FROM t2;
|
||||||
a
|
a
|
||||||
9
|
9
|
||||||
@ -81,20 +81,20 @@ SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
|||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /\[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd/ in mysqld.1.err
|
FOUND 1 /\[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd.*/ in mysqld.1.err
|
||||||
FOUND /\[ERROR\] InnoDB: Datafile .*u1.*\. Cannot determine the space ID from the first 64 pages/ in mysqld.1.err
|
FOUND 1 /\[ERROR\] InnoDB: Datafile .*u1.*\. Cannot determine the space ID from the first 64 pages.*/ in mysqld.1.err
|
||||||
FOUND /\[ERROR\] InnoDB: Cannot read first page of .*u2.ibd/ in mysqld.1.err
|
FOUND 1 /\[ERROR\] InnoDB: Cannot read first page of .*u2.ibd.*/ in mysqld.1.err
|
||||||
# Fault 7: Missing or wrong data file and innodb_force_recovery
|
# Fault 7: Missing or wrong data file and innodb_force_recovery
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
FOUND /\[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd/ in mysqld.1.err
|
FOUND 1 /\[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd.*/ in mysqld.1.err
|
||||||
FOUND /InnoDB: At LSN: \d+: unable to open file .*u[1-5].ibd for tablespace/ in mysqld.1.err
|
FOUND 1 /InnoDB: At LSN: \d+: unable to open file .*u[1-5].ibd for tablespace.*/ in mysqld.1.err
|
||||||
FOUND /\[ERROR\] InnoDB: Cannot rename '.*u5.ibd' to '.*u6.ibd' for space ID \d+ because the target file exists/ in mysqld.1.err
|
FOUND 1 /\[ERROR\] InnoDB: Cannot rename '.*u5.ibd' to '.*u6.ibd' for space ID \d+ because the target file exists.*/ in mysqld.1.err
|
||||||
FOUND /\[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd/ in mysqld.1.err
|
FOUND 1 /\[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd.*/ in mysqld.1.err
|
||||||
FOUND /InnoDB: At LSN: \d+: unable to open file .*u[1-5].ibd for tablespace/ in mysqld.1.err
|
FOUND 1 /InnoDB: At LSN: \d+: unable to open file .*u[1-5].ibd for tablespace.*/ in mysqld.1.err
|
||||||
FOUND /\[Warning\] InnoDB: Tablespace \d+ was not found at .*u[1-5].ibd, and innodb_force_recovery was set. All redo log for this tablespace will be ignored!/ in mysqld.1.err
|
FOUND 1 /\[Warning\] InnoDB: Tablespace \d+ was not found at .*u[1-5].ibd, and innodb_force_recovery was set. All redo log for this tablespace will be ignored!.*/ in mysqld.1.err
|
||||||
DROP TABLE u1,u2,u3,u6;
|
DROP TABLE u1,u2,u3,u6;
|
||||||
# List of files:
|
# List of files:
|
||||||
SHOW TABLES;
|
SHOW TABLES;
|
||||||
|
@ -7,8 +7,8 @@ CREATE TABLE t1(a INT PRIMARY KEY) ENGINE=InnoDB;
|
|||||||
# Kill the server
|
# Kill the server
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
FOUND /InnoDB: Tablespace 4294967280 was not found at .*, but there were no modifications either/ in mysqld.1.err
|
FOUND 1 /InnoDB: Tablespace 4294967280 was not found at .*, but there were no modifications either/ in mysqld.1.err
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
FOUND /srv_prepare_to_delete_redo_log_files: ib_log: MLOG_CHECKPOINT.* written/ in mysqld.1.err
|
FOUND 1 /srv_prepare_to_delete_redo_log_files: ib_log: MLOG_CHECKPOINT.* written/ in mysqld.1.err
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@ -22,34 +22,48 @@ connection default;
|
|||||||
# Kill the server
|
# Kill the server
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 1 /syntax error in innodb_log_group_home_dir/ in mysqld.1.err
|
||||||
|
SELECT * FROM t1;
|
||||||
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 1 /InnoDB: Starting crash recovery from checkpoint LSN=/ in mysqld.1.err
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 1 /InnoDB: innodb_read_only prevents crash recovery/ in mysqld.1.err
|
||||||
|
SELECT * FROM t1;
|
||||||
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 2 /redo log from 3\*[0-9]+ to 2\*[0-9]+ pages/ in mysqld.1.err
|
||||||
|
SELECT * FROM t1;
|
||||||
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 3 /redo log from 3\*[0-9]+ to 2\*[0-9]+ pages/ in mysqld.1.err
|
||||||
|
SELECT * FROM t1;
|
||||||
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 2 /InnoDB: innodb_read_only prevents crash recovery/ in mysqld.1.err
|
||||||
|
SELECT * FROM t1;
|
||||||
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 4 /redo log from 3\*[0-9]+ to 2\*[0-9]+ pages/ in mysqld.1.err
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 1 /InnoDB: Cannot create log files in read-only mode/ in mysqld.1.err
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 1 /InnoDB: Setting log file .*ib_logfile[0-9]+ size to/ in mysqld.1.err
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 1 /InnoDB: Setting log file .*ib_logfile[0-9]+ size to/ in mysqld.1.err
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 1 /InnoDB: Log file .*ib_logfile0 size 7 is not a multiple of innodb_page_size/ in mysqld.1.err
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
|
FOUND 1 /InnoDB: Log file .*ib_logfile1 is of different size 1048576 bytes than other log files/ in mysqld.1.err
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
ERROR 42000: Unknown storage engine 'InnoDB'
|
||||||
SELECT * FROM t1;
|
FOUND 1 /InnoDB: Setting log file .*ib_logfile[0-9]+ size to/ in mysqld.1.err
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
FOUND 1 /InnoDB: Renaming log file .*ib_logfile101 to .*ib_logfile0/ in mysqld.1.err
|
||||||
SELECT * FROM t1;
|
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
|
||||||
SELECT * FROM t1;
|
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
|
||||||
SELECT * FROM t1;
|
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
|
||||||
SELECT * FROM t1;
|
|
||||||
ERROR 42000: Unknown storage engine 'InnoDB'
|
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
a
|
a
|
||||||
42
|
42
|
||||||
|
@ -138,18 +138,23 @@ Tables_in_test
|
|||||||
create temporary table t1 (keyc int, c1 char(100), c2 char(100)) engine = innodb;
|
create temporary table t1 (keyc int, c1 char(100), c2 char(100)) engine = innodb;
|
||||||
ERROR HY000: Can't create table `test`.`t1` (errno: 165 "Table is read only")
|
ERROR HY000: Can't create table `test`.`t1` (errno: 165 "Table is read only")
|
||||||
# test various bad start-up parameters
|
# test various bad start-up parameters
|
||||||
|
FOUND 1 /innodb_temporary and innodb_system file names seem to be the same/ in mysqld.1.err
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
|
FOUND 1 /support raw device/ in mysqld.1.err
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
|
FOUND 2 /support raw device/ in mysqld.1.err
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
|
FOUND 1 /The innodb_temporary data file 'ibtmp1' must be at least/ in mysqld.1.err
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
|
FOUND 1 /InnoDB: syntax error in file path/ in mysqld.1.err
|
||||||
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
|
||||||
|
@ -29,19 +29,12 @@ ALTER TABLE t1 DROP INDEX b, ADD INDEX (b);
|
|||||||
--let $restart_parameters= --debug=d,ib_log
|
--let $restart_parameters= --debug=d,ib_log
|
||||||
--source include/start_mysqld.inc
|
--source include/start_mysqld.inc
|
||||||
|
|
||||||
let SEARCH_RANGE = -50000;
|
|
||||||
let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
||||||
let SEARCH_ABORT=NOT FOUND;
|
let SEARCH_ABORT=NOT FOUND;
|
||||||
# Look for at least one MLOG_FILE_CREATE2 in the error log.
|
# ensure that we have exactly 2 records there.
|
||||||
# Theoretically, it may have been written by this test or an earlier test.
|
|
||||||
# FIXME: redirect the error log of the restart to a new file,
|
|
||||||
# and ensure that we have exactly 2 records there.
|
|
||||||
let SEARCH_PATTERN=scan .*: multi-log rec MLOG_FILE_CREATE2.*page .*:0;
|
let SEARCH_PATTERN=scan .*: multi-log rec MLOG_FILE_CREATE2.*page .*:0;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
# Look for at least one MLOG_INDEX_LOAD in the error log.
|
# ensure that we have exactly 3 records there.
|
||||||
# Theoretically, it may have been written by this test or an earlier test.
|
|
||||||
# FIXME: redirect the error log of the restart to a new file,
|
|
||||||
# and ensure that we have exactly 3 records there.
|
|
||||||
let SEARCH_PATTERN=scan .*: log rec MLOG_INDEX_LOAD;
|
let SEARCH_PATTERN=scan .*: log rec MLOG_INDEX_LOAD;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@ call mtr.add_suppression("InnoDB: Decrypting checkpoint failed");
|
|||||||
|
|
||||||
let bugdir= $MYSQLTEST_VARDIR/tmp/log_corruption;
|
let bugdir= $MYSQLTEST_VARDIR/tmp/log_corruption;
|
||||||
--mkdir $bugdir
|
--mkdir $bugdir
|
||||||
--let SEARCH_RANGE = -50000
|
|
||||||
--let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err
|
--let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err
|
||||||
|
|
||||||
let $check_no_innodb=SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
let $check_no_innodb=SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
|
@ -26,7 +26,6 @@ let bugdir= $MYSQLTEST_VARDIR/tmp/log_file;
|
|||||||
--mkdir $bugdir
|
--mkdir $bugdir
|
||||||
|
|
||||||
let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
||||||
let SEARCH_RANGE = -100000;
|
|
||||||
let $check_no_innodb=SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
let $check_no_innodb=SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
|
@ -30,7 +30,6 @@ COMMIT;
|
|||||||
--copy_file $MYSQLD_DATADIR/test/t2.ibd $MYSQLD_DATADIR/test/t1.ibd
|
--copy_file $MYSQLD_DATADIR/test/t2.ibd $MYSQLD_DATADIR/test/t1.ibd
|
||||||
|
|
||||||
let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
||||||
let SEARCH_RANGE= -50000;
|
|
||||||
let $check_no_innodb=SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
let $check_no_innodb=SELECT * FROM INFORMATION_SCHEMA.ENGINES
|
||||||
WHERE engine = 'innodb'
|
WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
@ -39,7 +38,7 @@ AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
|||||||
# checkpoint after the INSERT. That is what we checked above.
|
# checkpoint after the INSERT. That is what we checked above.
|
||||||
--source include/start_mysqld.inc
|
--source include/start_mysqld.inc
|
||||||
eval $check_no_innodb;
|
eval $check_no_innodb;
|
||||||
let SEARCH_PATTERN= InnoDB: Ignoring data file '.*t2.ibd' with space ID \d+. Another data file called .*t1.ibd exists with the same space ID;
|
let SEARCH_PATTERN= InnoDB: Ignoring data file '.*t2.ibd' with space ID \d+. Another data file called .*t1.ibd exists with the same space ID.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--source include/shutdown_mysqld.inc
|
--source include/shutdown_mysqld.inc
|
||||||
@ -54,10 +53,10 @@ let SEARCH_PATTERN= InnoDB: Ignoring data file '.*t2.ibd' with space ID \d+. Ano
|
|||||||
--source include/start_mysqld.inc
|
--source include/start_mysqld.inc
|
||||||
eval $check_no_innodb;
|
eval $check_no_innodb;
|
||||||
|
|
||||||
let SEARCH_PATTERN= InnoDB: Ignoring data file '.*t1.ibd' with space ID;
|
let SEARCH_PATTERN= InnoDB: Ignoring data file '.*t1.ibd' with space ID.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
let SEARCH_PATTERN= InnoDB: Tablespace \d+ was not found at.*t3.ibd;
|
let SEARCH_PATTERN= InnoDB: Tablespace \d+ was not found at.*t3.ibd.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--source include/shutdown_mysqld.inc
|
--source include/shutdown_mysqld.inc
|
||||||
@ -73,14 +72,14 @@ let SEARCH_PATTERN= InnoDB: Tablespace \d+ was not found at.*t3.ibd;
|
|||||||
--source include/start_mysqld.inc
|
--source include/start_mysqld.inc
|
||||||
eval $check_no_innodb;
|
eval $check_no_innodb;
|
||||||
|
|
||||||
let SEARCH_PATTERN= InnoDB: Ignoring data file '.*t[23].ibd' with space ID;
|
let SEARCH_PATTERN= InnoDB: Ignoring data file '.*t[23].ibd' with space ID.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
let SEARCH_PATTERN= InnoDB: Tablespace \d+ was not found at .*t1.ibd;
|
let SEARCH_PATTERN= InnoDB: Tablespace \d+ was not found at .*t1.ibd.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
let SEARCH_PATTERN= InnoDB: Tablespace \d+ was not found at .*t3.ibd;
|
let SEARCH_PATTERN= InnoDB: Tablespace \d+ was not found at .*t3.ibd.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
let SEARCH_PATTERN= InnoDB: Set innodb_force_recovery=1 to ignore this and to permanently lose all changes to the tablespace;
|
let SEARCH_PATTERN= InnoDB: Set innodb_force_recovery=1 to ignore this and to permanently lose all changes to the tablespace.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--source include/shutdown_mysqld.inc
|
--source include/shutdown_mysqld.inc
|
||||||
@ -96,7 +95,7 @@ eval $check_no_innodb;
|
|||||||
--source include/shutdown_mysqld.inc
|
--source include/shutdown_mysqld.inc
|
||||||
|
|
||||||
let SEARCH_PATTERN= InnoDB: Tablespace \d+ was not found at .*t[12].ibd.
|
let SEARCH_PATTERN= InnoDB: Tablespace \d+ was not found at .*t[12].ibd.
|
||||||
.*InnoDB: Set innodb_force_recovery=1 to ignore this and to permanently lose all changes to the tablespace;
|
.*InnoDB: Set innodb_force_recovery=1 to ignore this and to permanently lose all changes to the tablespace.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--echo # Fault 5: Wrong type of data file
|
--echo # Fault 5: Wrong type of data file
|
||||||
@ -120,9 +119,9 @@ EOF
|
|||||||
eval $check_no_innodb;
|
eval $check_no_innodb;
|
||||||
--source include/shutdown_mysqld.inc
|
--source include/shutdown_mysqld.inc
|
||||||
|
|
||||||
let SEARCH_PATTERN= \[ERROR\] InnoDB: Cannot read first page of .*t2.ibd;
|
let SEARCH_PATTERN= \[ERROR\] InnoDB: Cannot read first page of .*t2.ibd.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
let SEARCH_PATTERN= \[ERROR\] InnoDB: Datafile .*t2.*\. Cannot determine the space ID from the first 64 pages;
|
let SEARCH_PATTERN= \[ERROR\] InnoDB: Datafile .*t2.*\. Cannot determine the space ID from the first 64 pages.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
# Restore t2.ibd
|
# Restore t2.ibd
|
||||||
@ -214,17 +213,17 @@ EOF
|
|||||||
--source include/start_mysqld.inc
|
--source include/start_mysqld.inc
|
||||||
eval $check_no_innodb;
|
eval $check_no_innodb;
|
||||||
|
|
||||||
let SEARCH_PATTERN= \[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd;
|
let SEARCH_PATTERN= \[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
let SEARCH_PATTERN= \[ERROR\] InnoDB: Datafile .*u1.*\. Cannot determine the space ID from the first 64 pages;
|
let SEARCH_PATTERN= \[ERROR\] InnoDB: Datafile .*u1.*\. Cannot determine the space ID from the first 64 pages.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
# TODO: These errors should state the file name (u2.ibd) and be ignored
|
# TODO: These errors should state the file name (u2.ibd) and be ignored
|
||||||
# in innodb-force-recovery mode once
|
# in innodb-force-recovery mode once
|
||||||
# Bug#18131883 IMPROVE INNODB ERROR MESSAGES REGARDING FILES
|
# Bug#18131883 IMPROVE INNODB ERROR MESSAGES REGARDING FILES
|
||||||
# has been fixed:
|
# has been fixed:
|
||||||
let SEARCH_PATTERN= \[ERROR\] InnoDB: Cannot read first page of .*u2.ibd;
|
let SEARCH_PATTERN= \[ERROR\] InnoDB: Cannot read first page of .*u2.ibd.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--source include/shutdown_mysqld.inc
|
--source include/shutdown_mysqld.inc
|
||||||
@ -239,26 +238,26 @@ let SEARCH_PATTERN= \[ERROR\] InnoDB: Cannot read first page of .*u2.ibd;
|
|||||||
--source include/start_mysqld.inc
|
--source include/start_mysqld.inc
|
||||||
eval $check_no_innodb;
|
eval $check_no_innodb;
|
||||||
|
|
||||||
let SEARCH_PATTERN= \[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd;
|
let SEARCH_PATTERN= \[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
let SEARCH_PATTERN= InnoDB: At LSN: \d+: unable to open file .*u[1-5].ibd for tablespace;
|
let SEARCH_PATTERN= InnoDB: At LSN: \d+: unable to open file .*u[1-5].ibd for tablespace.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
let SEARCH_PATTERN= \[ERROR\] InnoDB: Cannot rename '.*u5.ibd' to '.*u6.ibd' for space ID \d+ because the target file exists;
|
let SEARCH_PATTERN= \[ERROR\] InnoDB: Cannot rename '.*u5.ibd' to '.*u6.ibd' for space ID \d+ because the target file exists.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--remove_file $MYSQLD_DATADIR/test/u6.ibd
|
--remove_file $MYSQLD_DATADIR/test/u6.ibd
|
||||||
|
|
||||||
--source include/restart_mysqld.inc
|
--source include/restart_mysqld.inc
|
||||||
|
|
||||||
let SEARCH_PATTERN= \[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd;
|
let SEARCH_PATTERN= \[ERROR\] InnoDB: Header page consists of zero bytes in datafile: .*u1.ibd.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
let SEARCH_PATTERN= InnoDB: At LSN: \d+: unable to open file .*u[1-5].ibd for tablespace;
|
let SEARCH_PATTERN= InnoDB: At LSN: \d+: unable to open file .*u[1-5].ibd for tablespace.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
let SEARCH_PATTERN= \[Warning\] InnoDB: Tablespace \d+ was not found at .*u[1-5].ibd, and innodb_force_recovery was set. All redo log for this tablespace will be ignored!;
|
let SEARCH_PATTERN= \[Warning\] InnoDB: Tablespace \d+ was not found at .*u[1-5].ibd, and innodb_force_recovery was set. All redo log for this tablespace will be ignored!.*;
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
--let $restart_parameters=
|
--let $restart_parameters=
|
||||||
|
@ -32,7 +32,6 @@ CREATE TABLE t1(a INT PRIMARY KEY) ENGINE=InnoDB;
|
|||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
|
|
||||||
--let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err
|
--let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err
|
||||||
--let SEARCH_RANGE = -50000
|
|
||||||
--let SEARCH_PATTERN = InnoDB: Tablespace 4294967280 was not found at .*, but there were no modifications either
|
--let SEARCH_PATTERN = InnoDB: Tablespace 4294967280 was not found at .*, but there were no modifications either
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
|
@ -46,7 +46,6 @@ INSERT INTO t1 VALUES (0),(123);
|
|||||||
|
|
||||||
let MYSQLD_DATADIR= `select @@datadir`;
|
let MYSQLD_DATADIR= `select @@datadir`;
|
||||||
let SEARCH_ABORT = NOT FOUND;
|
let SEARCH_ABORT = NOT FOUND;
|
||||||
let SEARCH_RANGE= -50000;
|
|
||||||
let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
||||||
|
|
||||||
BEGIN;
|
BEGIN;
|
||||||
|
@ -122,7 +122,6 @@ create temporary table t1 (keyc int, c1 char(100), c2 char(100)) engine = innodb
|
|||||||
--echo # test various bad start-up parameters
|
--echo # test various bad start-up parameters
|
||||||
|
|
||||||
let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
||||||
let SEARCH_RANGE = -50000;
|
|
||||||
let SEARCH_ABORT = NOT FOUND;
|
let SEARCH_ABORT = NOT FOUND;
|
||||||
let $check_no_innodb=SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
let $check_no_innodb=SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
|
||||||
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
AND support IN ('YES', 'DEFAULT', 'ENABLED');
|
||||||
|
@ -14,16 +14,16 @@ insert into t1 values(3,"compressed table");
|
|||||||
[2]: check the innochecksum with full form --strict-check=crc32
|
[2]: check the innochecksum with full form --strict-check=crc32
|
||||||
[3]: check the innochecksum with short form -C crc32
|
[3]: check the innochecksum with short form -C crc32
|
||||||
[4]: check the innochecksum with --no-check ignores algorithm check, warning is expected
|
[4]: check the innochecksum with --no-check ignores algorithm check, warning is expected
|
||||||
FOUND /Error: --no-check must be associated with --write option./ in my_restart.err
|
FOUND 1 /Error: --no-check must be associated with --write option./ in my_restart.err
|
||||||
[5]: check the innochecksum with short form --no-check ignores algorithm check, warning is expected
|
[5]: check the innochecksum with short form --no-check ignores algorithm check, warning is expected
|
||||||
FOUND /Error: --no-check must be associated with --write option./ in my_restart.err
|
FOUND 1 /Error: --no-check must be associated with --write option./ in my_restart.err
|
||||||
[6]: check the innochecksum with full form strict-check & no-check , an error is expected
|
[6]: check the innochecksum with full form strict-check & no-check , an error is expected
|
||||||
FOUND /Error: --strict-check option cannot be used together with --no-check option./ in my_restart.err
|
FOUND 1 /Error: --strict-check option cannot be used together with --no-check option./ in my_restart.err
|
||||||
[7]: check the innochecksum with short form strict-check & no-check , an error is expected
|
[7]: check the innochecksum with short form strict-check & no-check , an error is expected
|
||||||
FOUND /Error: --strict-check option cannot be used together with --no-check option./ in my_restart.err
|
FOUND 1 /Error: --strict-check option cannot be used together with --no-check option./ in my_restart.err
|
||||||
[8]: check the innochecksum with short & full form combination
|
[8]: check the innochecksum with short & full form combination
|
||||||
# strict-check & no-check, an error is expected
|
# strict-check & no-check, an error is expected
|
||||||
FOUND /Error: --strict-check option cannot be used together with --no-check option./ in my_restart.err
|
FOUND 1 /Error: --strict-check option cannot be used together with --no-check option./ in my_restart.err
|
||||||
[9]: check the innochecksum with full form --strict-check=innodb
|
[9]: check the innochecksum with full form --strict-check=innodb
|
||||||
[10]: check the innochecksum with full form --strict-check=none
|
[10]: check the innochecksum with full form --strict-check=none
|
||||||
# when server Default checksum=crc32
|
# when server Default checksum=crc32
|
||||||
@ -32,16 +32,16 @@ FOUND /Error: --strict-check option cannot be used together with --no-check opti
|
|||||||
[12]: check the innochecksum with short form -C none
|
[12]: check the innochecksum with short form -C none
|
||||||
# when server Default checksum=crc32
|
# when server Default checksum=crc32
|
||||||
[13]: check strict-check with invalid values
|
[13]: check strict-check with invalid values
|
||||||
FOUND /Error while setting value \'strict_innodb\' to \'strict-check\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'strict_innodb\' to \'strict-check\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'strict_innodb\' to \'strict-check\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'strict_innodb\' to \'strict-check\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'strict_crc32\' to \'strict-check\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'strict_crc32\' to \'strict-check\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'strict_crc32\' to \'strict-check\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'strict_crc32\' to \'strict-check\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'strict_none\' to \'strict-check\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'strict_none\' to \'strict-check\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'strict_none\' to \'strict-check\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'strict_none\' to \'strict-check\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'InnoBD\' to \'strict-check\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'InnoBD\' to \'strict-check\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'InnoBD\' to \'strict-check\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'InnoBD\' to \'strict-check\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'crc\' to \'strict-check\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'crc\' to \'strict-check\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'no\' to \'strict-check\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'no\' to \'strict-check\'/ in my_restart.err
|
||||||
[14a]: when server default checksum=crc32 rewrite new checksum=crc32 with innochecksum
|
[14a]: when server default checksum=crc32 rewrite new checksum=crc32 with innochecksum
|
||||||
# Also check the long form of write option.
|
# Also check the long form of write option.
|
||||||
[14b]: when server default checksum=crc32 rewrite new checksum=innodb with innochecksum
|
[14b]: when server default checksum=crc32 rewrite new checksum=innodb with innochecksum
|
||||||
@ -85,7 +85,7 @@ c1 c2
|
|||||||
1 Innochecksum InnoDB1
|
1 Innochecksum InnoDB1
|
||||||
# Stop server
|
# Stop server
|
||||||
[18]:check Innochecksum with invalid write options
|
[18]:check Innochecksum with invalid write options
|
||||||
FOUND /Error while setting value \'strict_crc32\' to \'write\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'strict_crc32\' to \'write\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'strict_innodb\' to \'write\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'strict_innodb\' to \'write\'/ in my_restart.err
|
||||||
FOUND /Error while setting value \'crc23\' to \'write\'/ in my_restart.err
|
FOUND 1 /Error while setting value \'crc23\' to \'write\'/ in my_restart.err
|
||||||
DROP TABLE tab1;
|
DROP TABLE tab1;
|
||||||
|
@ -206,10 +206,10 @@ Filename::tab#.ibd
|
|||||||
# allow-mismatches,page,start-page,end-page
|
# allow-mismatches,page,start-page,end-page
|
||||||
[9]: check the both short and long options "page" and "start-page" when
|
[9]: check the both short and long options "page" and "start-page" when
|
||||||
# seek value is larger than file size.
|
# seek value is larger than file size.
|
||||||
FOUND /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
|
FOUND 1 /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
|
||||||
FOUND /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
|
FOUND 1 /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
|
||||||
FOUND /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
|
FOUND 1 /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
|
||||||
FOUND /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
|
FOUND 1 /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
|
||||||
[34]: check the invalid upper bound values for options, allow-mismatches, end-page, start-page and page.
|
[34]: check the invalid upper bound values for options, allow-mismatches, end-page, start-page and page.
|
||||||
# innochecksum will fail with error code: 1
|
# innochecksum will fail with error code: 1
|
||||||
NOT FOUND /Incorrect unsigned integer value: '18446744073709551616'/ in my_restart.err
|
NOT FOUND /Incorrect unsigned integer value: '18446744073709551616'/ in my_restart.err
|
||||||
|
@ -174,7 +174,7 @@ INSERT INTO t4 VALUES (2);
|
|||||||
connection slave;
|
connection slave;
|
||||||
include/wait_for_slave_sql_error.inc [errno=1590]
|
include/wait_for_slave_sql_error.inc [errno=1590]
|
||||||
Last_SQL_Error = 'The incident LOST_EVENTS occurred on the master. Message: error writing to the binary log'
|
Last_SQL_Error = 'The incident LOST_EVENTS occurred on the master. Message: error writing to the binary log'
|
||||||
FOUND /Slave SQL: The incident LOST_EVENTS occurred on the master\. Message: error writing to the binary log, Internal MariaDB error code: 1590/ in mysqld.2.err
|
FOUND 1 /Slave SQL: The incident LOST_EVENTS occurred on the master\. Message: error writing to the binary log, Internal MariaDB error code: 1590/ in mysqld.2.err
|
||||||
SELECT * FROM t4 ORDER BY a;
|
SELECT * FROM t4 ORDER BY a;
|
||||||
a
|
a
|
||||||
1
|
1
|
||||||
|
@ -49,8 +49,8 @@ a
|
|||||||
3
|
3
|
||||||
4
|
4
|
||||||
5
|
5
|
||||||
FOUND /Slave SQL: Error 'Duplicate entry .* on query\. .*Query: '.*', Gtid 0-1-100, Internal MariaDB error code:|Slave SQL: Could not execute Write_rows.*table test.t1; Duplicate entry.*, Gtid 0-1-100, Internal MariaDB error/ in mysqld.2.err
|
FOUND 1 /Slave SQL: Error 'Duplicate entry .* on query\. .*Query: '.*', Gtid 0-1-100, Internal MariaDB error code:|Slave SQL: Could not execute Write_rows.*table test.t1; Duplicate entry.*, Gtid 0-1-100, Internal MariaDB error/ in mysqld.2.err
|
||||||
FOUND /Slave SQL: The incident LOST_EVENTS occurred on the master\. Message: <none>, Internal MariaDB error code: 1590/ in mysqld.2.err
|
FOUND 1 /Slave SQL: The incident LOST_EVENTS occurred on the master\. Message: <none>, Internal MariaDB error code: 1590/ in mysqld.2.err
|
||||||
connection master;
|
connection master;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
connection master;
|
connection master;
|
||||||
|
@ -68,7 +68,6 @@ if(!$log_error_)
|
|||||||
let $log_error_ = $MYSQLTEST_VARDIR/log/mysqld.2.err;
|
let $log_error_ = $MYSQLTEST_VARDIR/log/mysqld.2.err;
|
||||||
}
|
}
|
||||||
--let SEARCH_FILE=$log_error_
|
--let SEARCH_FILE=$log_error_
|
||||||
--let SEARCH_RANGE=-50000
|
|
||||||
--let SEARCH_PATTERN=Slave SQL: Error 'Duplicate entry .* on query\. .*Query: '.*', Gtid 0-1-100, Internal MariaDB error code:|Slave SQL: Could not execute Write_rows.*table test.t1; Duplicate entry.*, Gtid 0-1-100, Internal MariaDB error
|
--let SEARCH_PATTERN=Slave SQL: Error 'Duplicate entry .* on query\. .*Query: '.*', Gtid 0-1-100, Internal MariaDB error code:|Slave SQL: Could not execute Write_rows.*table test.t1; Duplicate entry.*, Gtid 0-1-100, Internal MariaDB error
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
--let SEARCH_PATTERN=Slave SQL: The incident LOST_EVENTS occurred on the master\. Message: <none>, Internal MariaDB error code: 1590
|
--let SEARCH_PATTERN=Slave SQL: The incident LOST_EVENTS occurred on the master\. Message: <none>, Internal MariaDB error code: 1590
|
||||||
|
@ -9,7 +9,6 @@ sync_slave_with_master;
|
|||||||
source include/stop_slave.inc;
|
source include/stop_slave.inc;
|
||||||
let SEARCH_FILE=$MYSQLTEST_VARDIR/tmp/slave_log.err;
|
let SEARCH_FILE=$MYSQLTEST_VARDIR/tmp/slave_log.err;
|
||||||
let SEARCH_PATTERN=Error reading packet from server: Lost connection;
|
let SEARCH_PATTERN=Error reading packet from server: Lost connection;
|
||||||
let SEARCH_RANGE= -50000;
|
|
||||||
source include/search_pattern_in_file.inc;
|
source include/search_pattern_in_file.inc;
|
||||||
|
|
||||||
source include/start_slave.inc;
|
source include/start_slave.inc;
|
||||||
|
@ -28,6 +28,5 @@ let $MYSQLD_DATADIR= `select @@datadir`;
|
|||||||
--error 1
|
--error 1
|
||||||
--exec $MYSQLD_CMD --enable-named-pipe --skip-networking --log-error=second-mysqld.err
|
--exec $MYSQLD_CMD --enable-named-pipe --skip-networking --log-error=second-mysqld.err
|
||||||
let SEARCH_FILE=$MYSQLD_DATADIR/second-mysqld.err;
|
let SEARCH_FILE=$MYSQLD_DATADIR/second-mysqld.err;
|
||||||
let SEARCH_RANGE= -50;
|
|
||||||
let SEARCH_PATTERN=\[ERROR\] Create named pipe failed;
|
let SEARCH_PATTERN=\[ERROR\] Create named pipe failed;
|
||||||
source include/search_pattern_in_file.inc;
|
source include/search_pattern_in_file.inc;
|
||||||
|
@ -34,6 +34,5 @@ drop user user1@localhost;
|
|||||||
--echo # MDEV-8491 - On shutdown, report the user and the host executed that.
|
--echo # MDEV-8491 - On shutdown, report the user and the host executed that.
|
||||||
--echo #
|
--echo #
|
||||||
--let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err
|
--let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err
|
||||||
--let SEARCH_RANGE= -50000
|
|
||||||
--let SEARCH_PATTERN=mysqld(\.exe)? \(root\[root\] @ localhost \[(::1)?\]\): Normal shutdown
|
--let SEARCH_PATTERN=mysqld(\.exe)? \(root\[root\] @ localhost \[(::1)?\]\): Normal shutdown
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
@ -5387,6 +5387,7 @@ create view v1 as select 1;
|
|||||||
|
|
||||||
--let $MYSQLD_DATADIR= `select @@datadir`
|
--let $MYSQLD_DATADIR= `select @@datadir`
|
||||||
--let SEARCH_FILE= $MYSQLD_DATADIR/test/v1.frm
|
--let SEARCH_FILE= $MYSQLD_DATADIR/test/v1.frm
|
||||||
|
--let SEARCH_RANGE= 50000
|
||||||
--let SEARCH_PATTERN=mariadb-version
|
--let SEARCH_PATTERN=mariadb-version
|
||||||
--source include/search_pattern_in_file.inc
|
--source include/search_pattern_in_file.inc
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@ set @@wait_timeout=1;
|
|||||||
sleep 2;
|
sleep 2;
|
||||||
connection default;
|
connection default;
|
||||||
let SEARCH_FILE=$MYSQLTEST_VARDIR/log/mysqld.1.err;
|
let SEARCH_FILE=$MYSQLTEST_VARDIR/log/mysqld.1.err;
|
||||||
let SEARCH_RANGE= -50;
|
|
||||||
let SEARCH_PATTERN= Aborted.*Got timeout reading communication packets;
|
let SEARCH_PATTERN= Aborted.*Got timeout reading communication packets;
|
||||||
source include/search_pattern_in_file.inc;
|
source include/search_pattern_in_file.inc;
|
||||||
set global log_warnings=@@log_warnings;
|
set global log_warnings=@@log_warnings;
|
||||||
|
Reference in New Issue
Block a user