mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-14427: encryption.innodb-bad-key-change failed in buildbot
Timing problem as sometimes table is marked as encrypted but sometimes we are not sure and table is just marked missing.
This commit is contained in:
@ -40,18 +40,18 @@ SELECT * FROM t1;
|
||||
-- let $restart_parameters=--file-key-management-filename=$MYSQL_TEST_DIR/std_data/keysbad3.txt
|
||||
-- source include/restart_mysqld.inc
|
||||
|
||||
--disable_warnings
|
||||
--error ER_GET_ERRMSG
|
||||
SELECT * FROM t1;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
--enable_warnings
|
||||
|
||||
-- let $restart_parameters=--file-key-management-filename=$MYSQL_TEST_DIR/std_data/keysbad3.txt
|
||||
-- source include/restart_mysqld.inc
|
||||
|
||||
--disable_warnings
|
||||
--replace_regex /tablespace [0-9]*/tablespace /
|
||||
DROP TABLE t1;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
--enable_warnings
|
||||
|
||||
#
|
||||
# MDEV-8591: Database page corruption on disk or a failed space, Assertion failure in file buf0buf.cc
|
||||
@ -71,51 +71,41 @@ INSERT INTO t2 VALUES ('foobar',1,2);
|
||||
-- let $restart_parameters=--file-key-management-filename=$MYSQL_TEST_DIR/std_data/keys2.txt
|
||||
-- source include/restart_mysqld.inc
|
||||
|
||||
--disable_warnings
|
||||
--error ER_GET_ERRMSG
|
||||
SELECT * FROM t2;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
--error ER_GET_ERRMSG
|
||||
SELECT * FROM t2 where id = 1;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
--error ER_GET_ERRMSG
|
||||
SELECT * FROM t2 where b = 1;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
--replace_regex /tablespace [0-9]*/tablespace /
|
||||
--error ER_GET_ERRMSG
|
||||
INSERT INTO t2 VALUES ('tmp',3,3);
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
--error ER_GET_ERRMSG
|
||||
DELETE FROM t2 where b = 3;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
--error ER_GET_ERRMSG
|
||||
DELETE FROM t2 where id = 3;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
--error ER_GET_ERRMSG
|
||||
UPDATE t2 set b = b +1;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
OPTIMIZE TABLE t2;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
--error ER_GET_ERRMSG
|
||||
ALTER TABLE t2 ADD COLUMN d INT;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
ANALYZE TABLE t2;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
--error ER_GET_ERRMSG
|
||||
TRUNCATE TABLE t2;
|
||||
--replace_regex /tablespace [0-9]*/tablespace / /key_id [0-9]*/key_id /
|
||||
SHOW WARNINGS;
|
||||
|
||||
DROP TABLE t2;
|
||||
--enable_warnings
|
||||
|
||||
--echo
|
||||
--echo # Start server with keys2.txt
|
||||
|
Reference in New Issue
Block a user