mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
merge with 4.0.15
This commit is contained in:
commit
77a70a0a24
194 changed files with 3893 additions and 3199 deletions
10
vio/vio.c
10
vio/vio.c
|
|
@ -21,13 +21,7 @@
|
|||
the file descriptior.
|
||||
*/
|
||||
|
||||
#define DONT_MAP_VIO
|
||||
#include <my_global.h>
|
||||
#include <mysql_com.h>
|
||||
#include <my_sys.h>
|
||||
#include <m_string.h>
|
||||
#include <violite.h>
|
||||
#include <errno.h>
|
||||
#include "vio_priv.h"
|
||||
|
||||
/*
|
||||
* Helper to fill most of the Vio* with defaults.
|
||||
|
|
@ -97,6 +91,7 @@ void vio_reset(Vio* vio, enum enum_vio_type type,
|
|||
vio->in_addr =vio_ssl_in_addr;
|
||||
vio->vioblocking =vio_ssl_blocking;
|
||||
vio->is_blocking =vio_is_blocking;
|
||||
vio->timeout =vio_ssl_timeout;
|
||||
}
|
||||
else /* default is VIO_TYPE_TCPIP */
|
||||
#endif /* HAVE_OPENSSL */
|
||||
|
|
@ -113,6 +108,7 @@ void vio_reset(Vio* vio, enum enum_vio_type type,
|
|||
vio->in_addr =vio_in_addr;
|
||||
vio->vioblocking =vio_blocking;
|
||||
vio->is_blocking =vio_is_blocking;
|
||||
vio->timeout =vio_timeout;
|
||||
}
|
||||
#endif /* HAVE_VIO */
|
||||
DBUG_VOID_RETURN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue