mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
don't use tmp file for such a triviality
This commit is contained in:
parent
76cfd9c075
commit
1898bd9586
1 changed files with 1 additions and 4 deletions
|
@ -11,7 +11,6 @@ in_rpm=0
|
|||
windows=0
|
||||
defaults=""
|
||||
user=""
|
||||
tmp_file=/tmp/mysql_install_db.$$
|
||||
|
||||
case "$1" in
|
||||
--no-defaults|--defaults-file=*|--defaults-extra-file=*)
|
||||
|
@ -223,10 +222,8 @@ then
|
|||
then
|
||||
echo "Fill help tables"
|
||||
fi
|
||||
echo "use mysql;" > $tmp_file
|
||||
cat $tmp_file $fill_help_tables | eval "$mysqld_install_cmd_line"
|
||||
(echo "use mysql;"; cat $fill_help_tables) | eval "$mysqld_install_cmd_line"
|
||||
res=$?
|
||||
rm $tmp_file
|
||||
if test $res != 0
|
||||
then
|
||||
echo ""
|
||||
|
|
Loading…
Add table
Reference in a new issue