summaryrefslogtreecommitdiff
path: root/vio/vio.c
diff options
context:
space:
mode:
Diffstat (limited to 'vio/vio.c')
-rw-r--r--vio/vio.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/vio/vio.c b/vio/vio.c
index 39b5f843e5e..ea254e2ed5a 100644
--- a/vio/vio.c
+++ b/vio/vio.c
@@ -172,22 +172,24 @@ 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");
if ((vio = (Vio*) my_malloc(sizeof(Vio),MYF(MY_WME))))
{
vio_reset(vio, VIO_TYPE_SHARED_MEMORY, 0, 0, TRUE);
- vio->handle_file_map = handle_file_map;
- vio->handle_map = handle_map;
- vio->event_server_wrote = event_server_wrote;
- vio->event_server_read = event_server_read;
- vio->event_client_wrote = event_client_wrote;
- vio->event_client_read = event_client_read;
- vio->shared_memory_remain = 0;
- vio->shared_memory_pos = handle_map;
- vio->net = net;
+ vio->handle_file_map= handle_file_map;
+ vio->handle_map= handle_map;
+ vio->event_server_wrote= event_server_wrote;
+ 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;
strmov(vio->desc, "shared memory");
}
DBUG_RETURN(vio);