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
dabb9639
Commit
dabb9639
authored
Feb 16, 2012
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use poof-of-threads as default for thread_handling on Windows
parent
3fde5908
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
sql/sys_vars.cc
sql/sys_vars.cc
+9
-1
No files found.
sql/sys_vars.cc
View file @
dabb9639
...
...
@@ -1814,6 +1814,14 @@ static const char *thread_handling_names[]=
#endif
0
};
#ifdef _WIN32
/* Windows is using OS threadpool, so we're pretty sure it works well */
#define DEFAULT_THREAD_HANDLING 2
#else
#define DEFAULT_THREAD_HANDLING 0
#endif
static
Sys_var_enum
Sys_thread_handling
(
"thread_handling"
,
"Define threads usage for handling queries, one of "
...
...
@@ -1823,7 +1831,7 @@ static Sys_var_enum Sys_thread_handling(
#endif
,
READ_ONLY
GLOBAL_VAR
(
thread_handling
),
CMD_LINE
(
REQUIRED_ARG
),
thread_handling_names
,
DEFAULT
(
0
)
DEFAULT
(
DEFAULT_THREAD_HANDLING
)
);
#ifdef HAVE_QUERY_CACHE
...
...
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