Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b1edf499
Commit
b1edf499
authored
May 09, 2005
by
serg@sergbook.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't use tmp file for such a triviality
parent
44c857ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
scripts/mysql_install_db.sh
scripts/mysql_install_db.sh
+1
-4
No files found.
scripts/mysql_install_db.sh
View file @
b1edf499
...
@@ -11,7 +11,6 @@ in_rpm=0
...
@@ -11,7 +11,6 @@ in_rpm=0
windows
=
0
windows
=
0
defaults
=
""
defaults
=
""
user
=
""
user
=
""
tmp_file
=
/tmp/mysql_install_db.
$$
case
"
$1
"
in
case
"
$1
"
in
--no-defaults
|
--defaults-file
=
*
|
--defaults-extra-file
=
*
)
--no-defaults
|
--defaults-file
=
*
|
--defaults-extra-file
=
*
)
...
@@ -223,10 +222,8 @@ then
...
@@ -223,10 +222,8 @@ then
then
then
echo
"Fill help tables"
echo
"Fill help tables"
fi
fi
echo
"use mysql;"
>
$tmp_file
(
echo
"use mysql;"
;
cat
$fill_help_tables
)
|
eval
"
$mysqld_install_cmd_line
"
cat
$tmp_file
$fill_help_tables
|
eval
"
$mysqld_install_cmd_line
"
res
=
$?
res
=
$?
rm
$tmp_file
if
test
$res
!=
0
if
test
$res
!=
0
then
then
echo
""
echo
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment