mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-18591: mysql_install_db - pass --log-error to mysqld in install (#2363)
Previously we parsed it out in mysql_install_db for use in the error message, but failed to pass it to mysqld in the bootstrap. Also match log_error as it might appear in the .cnf files. Thanks Michal Schorm for the test case. Reviewed by: Faustin Lammler
This commit is contained in:
parent
8f30973234
commit
acfaa04587
1 changed files with 3 additions and 1 deletions
|
@ -148,7 +148,9 @@ parse_arguments()
|
|||
--builddir=*) builddir=`parse_arg "$arg"` ;;
|
||||
--srcdir=*) srcdir=`parse_arg "$arg"` ;;
|
||||
--ldata=*|--datadir=*|--data=*) ldata=`parse_arg "$arg"` ;;
|
||||
--log-error=*)
|
||||
--log[-_]error=*)
|
||||
# Keep in the arguments passed to the server
|
||||
args="$args $arg"
|
||||
log_error=`parse_arg "$arg"` ;;
|
||||
# Note that the user will be passed to mysqld so that it runs
|
||||
# as 'user' (crucial e.g. if log-bin=/some_other_path/
|
||||
|
|
Loading…
Reference in a new issue