File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1223,8 +1223,8 @@ static int prepare_export()
1223
1223
if (strncmp (orig_argv1," --defaults-file=" ,16 ) == 0 )
1224
1224
{
1225
1225
sprintf (cmdline,
1226
- IF_WIN (" \" " ," " ) " \" %s\" --mysqld \" %s\" --defaults-group-suffix=%s "
1227
- " --defaults-extra-file=./backup-my.cnf --datadir=."
1226
+ IF_WIN (" \" " ," " ) " \" %s\" --mysqld \" %s\" "
1227
+ " --defaults-extra-file=./backup-my.cnf --defaults-group-suffix=%s -- datadir=."
1228
1228
" --innodb --innodb-fast-shutdown=0"
1229
1229
" --innodb_purge_rseg_truncate_frequency=1 --innodb-buffer-pool-size=%llu"
1230
1230
" --console --skip-log-error --bootstrap < " BOOTSTRAP_FILENAME IF_WIN (" \" " ," " ),
@@ -1236,11 +1236,12 @@ static int prepare_export()
1236
1236
{
1237
1237
sprintf (cmdline,
1238
1238
IF_WIN (" \" " ," " ) " \" %s\" --mysqld"
1239
- " --defaults-file=./backup-my.cnf --datadir=."
1239
+ " --defaults-file=./backup-my.cnf --defaults-group-suffix=%s -- datadir=."
1240
1240
" --innodb --innodb-fast-shutdown=0"
1241
1241
" --innodb_purge_rseg_truncate_frequency=1 --innodb-buffer-pool-size=%llu"
1242
1242
" --console --log-error= --bootstrap < " BOOTSTRAP_FILENAME IF_WIN (" \" " ," " ),
1243
1243
mariabackup_exe,
1244
+ (my_defaults_group_suffix?my_defaults_group_suffix:" " ),
1244
1245
xtrabackup_use_memory);
1245
1246
}
1246
1247
You can’t perform that action at this time.
0 commit comments