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
df259289
Commit
df259289
authored
Aug 15, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-4.1-11796
into mysql.com:/home/jimw/my/mysql-4.1-clean
parents
e21a025c
d6a8330e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
sql/mysqld.cc
sql/mysqld.cc
+5
-1
No files found.
sql/mysqld.cc
View file @
df259289
...
...
@@ -649,7 +649,6 @@ static void close_connections(void)
}
#endif
end_thr_alarm
(
0
);
// Abort old alarms.
end_slave
();
/*
First signal all threads that it's time to die
...
...
@@ -665,6 +664,9 @@ static void close_connections(void)
{
DBUG_PRINT
(
"quit"
,(
"Informing thread %ld that it's time to die"
,
tmp
->
thread_id
));
/* We skip slave threads on this first loop through. */
if
(
tmp
->
slave_thread
)
continue
;
tmp
->
killed
=
1
;
if
(
tmp
->
mysys_var
)
{
...
...
@@ -681,6 +683,8 @@ static void close_connections(void)
}
(
void
)
pthread_mutex_unlock
(
&
LOCK_thread_count
);
// For unlink from list
end_slave
();
if
(
thread_count
)
sleep
(
2
);
// Give threads time to die
...
...
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