summaryrefslogtreecommitdiff
path: root/libmysqld/lib_vio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqld/lib_vio.c')
-rw-r--r--libmysqld/lib_vio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libmysqld/lib_vio.c b/libmysqld/lib_vio.c
index 128857018fd..e9f86cead80 100644
--- a/libmysqld/lib_vio.c
+++ b/libmysqld/lib_vio.c
@@ -20,6 +20,7 @@
we are working on. In this case we should just return read errors from
the file descriptior.
*/
+#ifdef DUMMY
#include <my_global.h>
#include "mysql_embed.h"
@@ -219,7 +220,7 @@ int create_vio(NET *net, int separate_thread)
Vio * v = net->vio;
if (!v)
{
- v = vio_new(0, separate_thread ? VIO_TYPE_SHARED_MEMORY : VIO_TYPE_BUFFER, 0);
+ v = vio_new(0, separate_thread ? VIO_CLOSED : VIO_TYPE_TCPIP, 0);
net->vio = v;
}
return !v;
@@ -233,3 +234,5 @@ void set_thd(Vio *v, void *thd)
}
}
#endif /* HAVE_VIO */
+#endif /* DUMMY */
+