diff options
author | monty@narttu.mysql.fi <> | 2003-08-29 13:44:35 +0300 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-08-29 13:44:35 +0300 |
commit | 77a70a0a24ce658a3ee55248cb2e76f84afc1b88 (patch) | |
tree | aeb2314adbd714c7e2b032209bfd7914e3cfda3d /vio/vio.c | |
parent | 6cad89775b4ed78c02c2fa9f3e49181f63b7fb65 (diff) | |
parent | 5e04e2370f05bc42437f8be476eba9e204888b65 (diff) | |
download | mariadb-git-77a70a0a24ce658a3ee55248cb2e76f84afc1b88.tar.gz |
merge with 4.0.15
Diffstat (limited to 'vio/vio.c')
-rw-r--r-- | vio/vio.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/vio/vio.c b/vio/vio.c index e629cd043b5..05bfb220986 100644 --- a/vio/vio.c +++ b/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; |