Debian Codegraph @

mysql-test/suite/binlog/t/binlog_reencrypt_logs.test

raw
1 # ==== Purpose ====
2 #
3 # Verify that 'ALTER INSTANCE ROTATE BINLOG MASTER KEY' succeeds with
4 # a warning if it failed to open a binary log which is purged during
5 # re-encryption.
6 #
7 # ==== Implementation ====
8 #
9 # 1. set a debug_point 'purge_logs_during_reencryption'.
10 # 2. execute 'ALTER INSTANCE ROTATE BINLOG MASTER KEY'.
11 #
12 # ==== References ====
13 #
14 # Wl#12080 Add support to binary log encryption key rotation and cleanup
15
16 --source include/have_binlog_format_row.inc
17 --source include/have_debug.inc
18 --source include/have_debug_sync.inc
19
20 RESET MASTER;
21
22 --let $debug_point=purge_logs_during_reencryption
23 --source include/add_debug_point.inc
24 --replace_result \\ /
25 ALTER INSTANCE ROTATE BINLOG MASTER KEY;
26 --source include/remove_debug_point.inc