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
5e312c15
Commit
5e312c15
authored
Mar 14, 2006
by
hartmut@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/hartmut/projects/mysql/dev/5.0
into mysql.com:/home/hartmut/projects/mysql/bk-clean/5.1
parents
2c297c07
9da74d8a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
server-tools/instance-manager/listener.cc
server-tools/instance-manager/listener.cc
+4
-4
No files found.
server-tools/instance-manager/listener.cc
View file @
5e312c15
...
...
@@ -88,7 +88,7 @@ Listener_thread::~Listener_thread()
void
Listener_thread
::
run
()
{
int
n
=
0
;
int
i
,
n
=
0
;
#ifndef __WIN__
/* we use this var to check whether we are running on LinuxThreads */
...
...
@@ -117,7 +117,7 @@ void Listener_thread::run()
#endif
/* II. Listen sockets and spawn childs */
for
(
i
nt
i
=
0
;
i
<
num_sockets
;
i
++
)
for
(
i
=
0
;
i
<
num_sockets
;
i
++
)
n
=
max
(
n
,
sockets
[
i
]);
n
++
;
...
...
@@ -176,7 +176,7 @@ void Listener_thread::run()
log_info
(
"Listener_thread::run(): shutdown requested, exiting..."
);
for
(
i
nt
i
=
0
;
i
<
num_sockets
;
i
++
)
for
(
i
=
0
;
i
<
num_sockets
;
i
++
)
close
(
sockets
[
i
]);
#ifndef __WIN__
...
...
@@ -189,7 +189,7 @@ void Listener_thread::run()
err:
// we have to close the ip sockets in case of error
for
(
i
nt
i
=
0
;
i
<
num_sockets
;
i
++
)
for
(
i
=
0
;
i
<
num_sockets
;
i
++
)
close
(
sockets
[
i
]);
thread_registry
.
unregister_thread
(
&
thread_info
);
...
...
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