1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge remote-tracking branch '10.0-galera' into 10.1

This commit is contained in:
Vicențiu Ciorbaru
2017-01-16 04:53:57 +02:00
5 changed files with 15 additions and 8 deletions

View File

@@ -208,13 +208,6 @@ shell_quote_string() {
echo "$1" | sed -e 's,\([^a-zA-Z0-9/_.=-]\),\\\1,g'
}
check_executable_location() {
if test "$unsafe_my_cnf" = 1 -a "$unrecognized_handling" != collect; then
log_error "Cannot accept $1 from a config file, when my.cnf is in the datadir"
exit 1
fi
}
wsrep_pick_url() {
[ $# -eq 0 ] && return 0
@@ -298,6 +291,13 @@ wsrep_recover_position() {
return $ret
}
check_executable_location() {
if test "$unsafe_my_cnf" = 1 -a "$unrecognized_handling" != collect; then
log_error "Cannot accept $1 from a config file, when my.cnf is in the datadir"
exit 1
fi
}
parse_arguments() {
for arg do
val=`echo "$arg" | sed -e "s;--[^=]*=;;"`
@@ -997,7 +997,6 @@ else
exec 2>&-
fi
# maximum number of wsrep restarts
max_wsrep_restarts=0