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
34459994
Commit
34459994
authored
Jan 01, 2007
by
kent@mysql.com/kent-amd64.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysqld.cc, configure.in:
Don't use thread priority by default on Mac OS X (bug#18526)
parent
fd833d70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
configure.in
configure.in
+2
-0
sql/mysqld.cc
sql/mysqld.cc
+6
-2
No files found.
configure.in
View file @
34459994
...
...
@@ -1073,6 +1073,8 @@ case $SYSTEM_TYPE in
fi
;;
*
darwin
*
)
AC_DEFINE
([
DEFAULT_SKIP_THREAD_PRIORITY],
[
1],
[
default to skip thread priority]
)
CPPFLAGS
=
"-D"
if
test
"
$ac_cv_prog_gcc
"
=
"yes"
then
FLAGS
=
"-D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT"
...
...
sql/mysqld.cc
View file @
34459994
...
...
@@ -51,6 +51,10 @@
#define OPT_NDBCLUSTER_DEFAULT 0
#endif
#ifndef DEFAULT_SKIP_THREAD_PRIORITY
#define DEFAULT_SKIP_THREAD_PRIORITY 0
#endif
#include <thr_alarm.h>
#include <ft_global.h>
#include <errmsg.h>
...
...
@@ -5384,8 +5388,8 @@ Can't be set to 1 if --log-slave-updates is used.",
{
"skip-symlink"
,
OPT_SKIP_SYMLINKS
,
"Don't allow symlinking of tables. Deprecated option. Use --skip-symbolic-links instead."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"skip-thread-priority"
,
OPT_SKIP_PRIOR
,
"Don't give threads different priorities."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
"Don't give threads different priorities."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
DEFAULT_SKIP_THREAD_PRIORITY
,
0
,
0
,
0
,
0
,
0
},
#ifdef HAVE_REPLICATION
{
"slave-load-tmpdir"
,
OPT_SLAVE_LOAD_TMPDIR
,
"The location where the slave should put its temporary files when \
...
...
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