Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
6895c9ea
Commit
6895c9ea
authored
May 05, 2021
by
Julius Goryavsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-24962 addendum: mariabackup does not understand --log-bin-index and --log-basename options
parent
5ad7f525
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
scripts/wsrep_sst_common.sh
scripts/wsrep_sst_common.sh
+13
-3
No files found.
scripts/wsrep_sst_common.sh
View file @
6895c9ea
...
...
@@ -349,7 +349,7 @@ case "$1" in
fi
shift
done
readonly
WSREP_SST_OPT_MYSQLD
=
"
$original_cmd
"
WSREP_SST_OPT_MYSQLD
=
"
$original_cmd
"
break
;;
*
)
# must be command
...
...
@@ -410,7 +410,11 @@ fi
# Reconstructing the command line arguments that control the innodb
# and binlog options:
if
[
-n
"
$WSREP_SST_OPT_LOG_BASENAME
"
]
;
then
INNOEXTRA
=
"
$INNOEXTRA
--log-basename='
$WSREP_SST_OPT_LOG_BASENAME
'"
if
[
-n
"
$WSREP_SST_OPT_MYSQLD
"
]
;
then
WSREP_SST_OPT_MYSQLD
=
"--log-basename='
$WSREP_SST_OPT_LOG_BASENAME
'
$WSREP_SST_OPT_MYSQLD
"
else
WSREP_SST_OPT_MYSQLD
=
"--log-basename='
$WSREP_SST_OPT_LOG_BASENAME
'"
fi
fi
if
[
-n
"
$INNODB_DATA_HOME_DIR
"
]
;
then
INNOEXTRA
=
"
$INNOEXTRA
--innodb-data-home-dir='
$INNODB_DATA_HOME_DIR
'"
...
...
@@ -424,10 +428,16 @@ fi
if
[
-n
"
$WSREP_SST_OPT_BINLOG
"
]
;
then
INNOEXTRA
=
"
$INNOEXTRA
--log-bin='
$WSREP_SST_OPT_BINLOG
'"
if
[
-n
"
$WSREP_SST_OPT_BINLOG_INDEX
"
]
;
then
INNOEXTRA
=
"
$INNOEXTRA
--log-bin-index='
$WSREP_SST_OPT_BINLOG_INDEX
'"
if
[
-n
"
$WSREP_SST_OPT_MYSQLD
"
]
;
then
WSREP_SST_OPT_MYSQLD
=
"--log-bin-index='
$WSREP_SST_OPT_BINLOG_INDEX
'
$WSREP_SST_OPT_MYSQLD
"
else
WSREP_SST_OPT_MYSQLD
=
"--log-bin-index='
$WSREP_SST_OPT_BINLOG_INDEX
'"
fi
fi
fi
readonly
WSREP_SST_OPT_MYSQLD
get_binlog
()
{
# if no command line argument and WSREP_SST_OPT_BINLOG is not set,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment