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
3d0e24ca
Commit
3d0e24ca
authored
May 27, 2003
by
wax@kishkin.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge kishkin.ru:/home/wax/mysql-4n into kishkin.ru:/home/wax/mysql-4sm
parents
e436736d
93325f7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sql/mysqld.cc
sql/mysqld.cc
+6
-0
No files found.
sql/mysqld.cc
View file @
3d0e24ca
...
...
@@ -2281,7 +2281,9 @@ static void handle_connections_methods()
#endif
/* __NT__ */
if
(
have_tcpip
&&
!
opt_disable_networking
)
{
#ifdef __NT__
handler_count
++
;
#endif
if
(
pthread_create
(
&
hThread
,
&
connection_attrib
,
handle_connections_sockets
,
0
))
{
...
...
@@ -2292,7 +2294,9 @@ static void handle_connections_methods()
#ifdef HAVE_SMEM
if
(
opt_enable_shared_memory
)
{
#ifdef __NT__
handler_count
++
;
#endif
if
(
pthread_create
(
&
hThread
,
&
connection_attrib
,
handle_connections_shared_memory
,
0
))
{
...
...
@@ -3318,10 +3322,12 @@ Send number of connection to client
if
(
!
handle_connect_file_map
)
CloseHandle
(
handle_connect_file_map
);
if
(
!
event_connect_answer
)
CloseHandle
(
event_connect_answer
);
if
(
!
event_connect_request
)
CloseHandle
(
event_connect_request
);
#ifdef __NT__
pthread_mutex_lock
(
&
LOCK_thread_count
);
handler_count
--
;
pthread_mutex_unlock
(
&
LOCK_thread_count
);
pthread_cond_signal
(
&
COND_handler_count
);
#endif
DBUG_RETURN
(
0
);
}
#endif
/* HAVE_SMEM */
...
...
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