mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Add --malloc-lib=LIB option to mysqld_safe to LD_PRELOAD a shared library for mysqld
This commit is contained in:
committed by
MySQL Build Team
parent
d040849266
commit
5ce71b22bf
@ -167,6 +167,10 @@ Options:
|
||||
--port [$port]
|
||||
--version [$version]
|
||||
--libmysqld-libs [$embedded_libs]
|
||||
--variable=VAR VAR is one of:
|
||||
pkgincludedir [$pkgincludedir]
|
||||
pkglibdir [$pkglibdir]
|
||||
plugindir [$plugindir]
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
@ -184,6 +188,15 @@ while test $# -gt 0; do
|
||||
--port) echo "$port" ;;
|
||||
--version) echo "$version" ;;
|
||||
--embedded-libs | --embedded | --libmysqld-libs) echo "$embedded_libs" ;;
|
||||
--variable=*)
|
||||
var=`echo "$1" | sed 's,^[^=]*=,,'`
|
||||
case "$var" in
|
||||
pkgincludedir) echo "$pkgincludedir" ;;
|
||||
pkglibdir) echo "$pkglibdir" ;;
|
||||
plugindir) echo "$plugindir" ;;
|
||||
*) usage ;;
|
||||
esac
|
||||
;;
|
||||
*) usage ;;
|
||||
esac
|
||||
|
||||
|
Reference in New Issue
Block a user