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
b62e8d10
Commit
b62e8d10
authored
May 20, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#236 mysqld_safe should use libjemalloc.so if it exists in the tarball
parent
2006f3bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
scripts/setup.mysql.bash
scripts/setup.mysql.bash
+4
-0
No files found.
scripts/setup.mysql.bash
View file @
b62e8d10
...
@@ -180,6 +180,10 @@ if [ $startup -ne 0 ] ; then
...
@@ -180,6 +180,10 @@ if [ $startup -ne 0 ] ; then
else
else
default_arg
=
"--defaults-file=
$defaultsfile
"
default_arg
=
"--defaults-file=
$defaultsfile
"
fi
fi
j
=
/usr/local/mysql/lib/mysql/libjemalloc.so
if
[
-f
$j
]
;
then
default_arg
=
"
$default_arg
--malloc-lib=
$j
"
fi
$sudo
-b
bash
-c
"
$ldpath
/usr/local/mysql/bin/mysqld_safe
$default_arg
$mysqld_args
"
>
/dev/null 2>&1 &
$sudo
-b
bash
-c
"
$ldpath
/usr/local/mysql/bin/mysqld_safe
$default_arg
$mysqld_args
"
>
/dev/null 2>&1 &
fi
fi
sleep
$sleeptime
sleep
$sleeptime
...
...
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