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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4cf749e6
Commit
4cf749e6
authored
Feb 08, 2003
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
parents
b759ce90
0cf63e82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6507 additions
and
25 deletions
+6507
-25
sql-bench/limits/mysql.cfg
sql-bench/limits/mysql.cfg
+6496
-24
sql/mysqld.cc
sql/mysqld.cc
+11
-1
No files found.
sql-bench/limits/mysql.cfg
View file @
4cf749e6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
sql/mysqld.cc
View file @
4cf749e6
...
...
@@ -2130,7 +2130,17 @@ int main(int argc, char **argv)
(
void
)
pthread_attr_setdetachstate
(
&
connection_attrib
,
PTHREAD_CREATE_DETACHED
);
pthread_attr_setstacksize
(
&
connection_attrib
,
thread_stack
);
{
/* Retrieve used stack size; Needed for checking stack overflows */
size_t
stack_size
;
pthread_attr_getstacksize
(
&
connection_attrib
,
&
stack_size
);
if
(
global_system_variables
.
log_warnings
&&
stack_size
!=
thread_stack
)
{
sql_print_error
(
"Warning: Asked for %ld thread stack, but got %ld"
,
thread_stack
,
stack_size
);
thread_stack
=
stack_size
;
}
}
if
(
!
(
opt_specialflag
&
SPECIAL_NO_PRIOR
))
my_pthread_attr_setprio
(
&
connection_attrib
,
WAIT_PRIOR
);
pthread_attr_setscope
(
&
connection_attrib
,
PTHREAD_SCOPE_SYSTEM
);
...
...
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