diff options
author | unknown <wax@kishkin.ru> | 2004-12-14 19:24:19 +0500 |
---|---|---|
committer | unknown <wax@kishkin.ru> | 2004-12-14 19:24:19 +0500 |
commit | 79a0ed6232233f6c85c83fbee4e27e594a7149db (patch) | |
tree | 33fb11fbd7696108090cda9adc1e0eccfe052c1c /vio/vio.c | |
parent | 820d68d9033ed566177a4ff9c2c4c1e98b0deb6e (diff) | |
download | mariadb-git-79a0ed6232233f6c85c83fbee4e27e594a7149db.tar.gz |
BUG#6056
(continue)
added event_conn_closed
replaced WaitForSingleObject on WaitForMultipleObjects
inserted a check in vio_close()
added SetEvent() for event_conn_closed
include/violite.h:
added event_conn_closed
sql-common/client.c:
added event_conn_closed
sql/mysqld.cc:
added event_conn_closed
vio/vio.c:
added event_conn_closed
vio/viosocket.c:
replaced WaitForSingleObject on WaitForMultipleObjects
inserted a check in vio_close()
added SetEvent() for event_conn_closed
Diffstat (limited to 'vio/vio.c')
-rw-r--r-- | vio/vio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vio/vio.c b/vio/vio.c index a356d8edeff..92d69dc5148 100644 --- a/vio/vio.c +++ b/vio/vio.c @@ -171,7 +171,8 @@ Vio *vio_new_win32pipe(HANDLE hPipe) #ifdef HAVE_SMEM Vio *vio_new_win32shared_memory(NET *net,HANDLE handle_file_map, HANDLE handle_map, HANDLE event_server_wrote, HANDLE event_server_read, - HANDLE event_client_wrote, HANDLE event_client_read) + HANDLE event_client_wrote, HANDLE event_client_read, + HANDLE event_conn_closed) { Vio *vio; DBUG_ENTER("vio_new_win32shared_memory"); @@ -184,6 +185,7 @@ Vio *vio_new_win32shared_memory(NET *net,HANDLE handle_file_map, HANDLE handle_m vio->event_server_read = event_server_read; vio->event_client_wrote = event_client_wrote; vio->event_client_read = event_client_read; + vio->event_conn_closed = event_conn_closed; vio->shared_memory_remain = 0; vio->shared_memory_pos = handle_map; vio->net = net; |