1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-09 11:41:36 +03:00
Files
mariadb/mysql-test/suite/encryption/r/recovery_memory.result
Marko Mäkelä d7d7304d9b MDEV-36556: MariaDB restart after upgrade fails with innodb_encrypt_tables
ibuf_upgrade_needed(): Adjust the check for the case that the
InnoDB system tablespace had been created without
innodb_checksum_algorithm=full_crc32 and innodb_encrypt_tables
was enabled at the time the change buffer was upgraded.
2025-10-07 09:59:59 +03:00

18 lines
622 B
Plaintext

SET GLOBAL innodb_encrypt_tables=ON,innodb_encryption_threads=1;
SET GLOBAL innodb_saved_page_number_debug=4,innodb_fil_make_page_dirty_debug=0;
CREATE TABLE t1(f1 text, index idx(f1(20))) ENGINE INNODB;
set global innodb_fast_shutdown=0;
# restart: --debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0
set global debug_dbug="+d,ib_log_checkpoint_avoid_hard";
INSERT INTO t1 SELECT repeat('a', 8000) FROM seq_1_to_1280;
DELETE FROM t1;
SET GLOBAL innodb_max_purge_lag_wait=0;
INSERT INTO t1 VALUES('a');
# XTRABACKUP PREPARE
# restart
SELECT COUNT(*) FROM t1;
COUNT(*)
1
ALTER TABLE t1 FORCE;
DROP TABLE t1;