Skip to content

Commit 40b4f9c

Browse files
committed
MDEV-18575 remove innodb-encrypt-log parameter from mariabackup
The variable is obsolete. In mariabackup --backup, encryption plugin loading code sets the value this parameter to the same as in server. In mariabackup --prepare, no new redo log is generated, and xtrabackup_logfile is removed after it anyway.
1 parent 10cc8bb commit 40b4f9c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

extra/mariabackup/xtrabackup.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,6 @@ enum options_xtrabackup
803803
OPT_INNODB_LOG_CHECKSUMS,
804804
OPT_XTRA_INCREMENTAL_FORCE_SCAN,
805805
OPT_DEFAULTS_GROUP,
806-
OPT_INNODB_ENCRYPT_LOG,
807806
OPT_CLOSE_FILES,
808807
OPT_CORE_FILE,
809808

@@ -1376,10 +1375,6 @@ struct my_option xb_server_options[] =
13761375
&xb_plugin_dir, &xb_plugin_dir,
13771376
0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },
13781377

1379-
{ "innodb-encrypt-log", OPT_INNODB_ENCRYPT_LOG, "Whether to encrypt innodb log",
1380-
&srv_encrypt_log, &srv_encrypt_log,
1381-
0, GET_BOOL, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },
1382-
13831378
{"innodb-log-checksums", OPT_INNODB_LOG_CHECKSUMS,
13841379
"Whether to require checksums for InnoDB redo log blocks",
13851380
&innodb_log_checksums, &innodb_log_checksums,

0 commit comments

Comments
 (0)