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

ke it possible to use mysys functions in netware/mysql_test_run.c

Don't pass --user to mysqld if --user is not used
This commit is contained in:
monty@mysql.com
2004-06-18 04:22:43 +03:00
parent 82a30d38b2
commit f56df164f0
3 changed files with 10 additions and 9 deletions

View File

@@ -10,6 +10,7 @@
in_rpm=0
windows=0
defaults=""
user=""
case "$1" in
-IN-RPM)
in_rpm="1"; shift
@@ -334,10 +335,14 @@ then
c_c="$c_c comment='Column privileges';"
fi
if test -n "$user"; then
args="$args --user=$user"
fi
echo "Installing all prepared tables"
if eval "$mysqld $defaults $mysqld_opt --bootstrap --skip-grant-tables \
--basedir=$basedir --datadir=$ldata --skip-innodb --skip-bdb \
--user=$user $args" << END_OF_DATA
$extra_arg $args" << END_OF_DATA
use mysql;
$c_d
$i_d