]> granicus.if.org Git - php/commitdiff
MNDR:
authorAndrey Hristov <andrey@php.net>
Mon, 9 Nov 2015 14:46:34 +0000 (15:46 +0100)
committerAndrey Hristov <andrey@php.net>
Thu, 12 Nov 2015 15:19:16 +0000 (16:19 +0100)
- moved networking code to mysqlnd_vio.c

ext/mysqlnd/config.w32
ext/mysqlnd/config9.m4
ext/mysqlnd/mysqlnd.c
ext/mysqlnd/mysqlnd_driver.c
ext/mysqlnd/mysqlnd_vio.c [moved from ext/mysqlnd/mysqlnd_net.c with 100% similarity]
ext/mysqlnd/mysqlnd_vio.h [moved from ext/mysqlnd/mysqlnd_net.h with 100% similarity]
ext/mysqlnd/mysqlnd_wireprotocol.h

index ff102310ddfb0ec22df49ad33596155371c07316..c9d9496600ba73ee962237ad1a1a002f4b7c5593 100644 (file)
@@ -16,7 +16,7 @@ if (PHP_MYSQLND != "no") {
                        "mysqlnd_ext_plugin.c " +
                        "mysqlnd_loaddata.c " +
                        "mysqlnd_reverse_api.c " +
-                       "mysqlnd_net.c " +
+                       "mysqlnd_vio.c " +
                        "mysqlnd_plugin.c " +
                        "mysqlnd_ps.c " +
                        "mysqlnd_ps_codec.c " +
index 92cab9436740ebbd84811cc7dd09a45e9ab83063..b6bb25ce6e90036ad88ca6ac365b94536c5961fe 100644 (file)
@@ -19,7 +19,7 @@ dnl If some extension uses mysqlnd it will get compiled in PHP core
 if test "$PHP_MYSQLND" != "no" || test "$PHP_MYSQLND_ENABLED" = "yes"; then
   mysqlnd_ps_sources="mysqlnd_ps.c mysqlnd_ps_codec.c"
   mysqlnd_base_sources="mysqlnd.c mysqlnd_alloc.c mysqlnd_charset.c mysqlnd_wireprotocol.c \
-                   mysqlnd_loaddata.c mysqlnd_reverse_api.c mysqlnd_net.c \
+                   mysqlnd_loaddata.c mysqlnd_reverse_api.c mysqlnd_vio.c \
                    mysqlnd_statistics.c mysqlnd_driver.c mysqlnd_ext_plugin.c mysqlnd_auth.c \
                                   mysqlnd_result.c mysqlnd_result_meta.c mysqlnd_debug.c\
                                   mysqlnd_block_alloc.c mysqlnd_plugin.c php_mysqlnd.c"
index 616c5c379f261653fe3d2176f0ab483f185d4113..8d5140a2ae428848281279f9f545c68329cd9a1a 100644 (file)
@@ -21,6 +21,7 @@
 /* $Id$ */
 #include "php.h"
 #include "mysqlnd.h"
+#include "mysqlnd_vio.h"
 #include "mysqlnd_wireprotocol.h"
 #include "mysqlnd_priv.h"
 #include "mysqlnd_result.h"
index ed4506322e86f7e56c53e77caf8428d519b4b50a..b12c0f8ea359a864cbefb9d8ab99cddb63732b82 100644 (file)
@@ -21,6 +21,7 @@
 /* $Id: mysqlnd.c 317989 2011-10-10 20:49:28Z andrey $ */
 #include "php.h"
 #include "mysqlnd.h"
+#include "mysqlnd_vio.h"
 #include "mysqlnd_wireprotocol.h"
 #include "mysqlnd_priv.h"
 #include "mysqlnd_result.h"
index e15a351cf22282b66994713ae4944f9b85dc41d4..15cc02f95e015bb97d8364ed5d0a3d2aa7f97917 100644 (file)
@@ -23,8 +23,6 @@
 #ifndef MYSQLND_WIREPROTOCOL_H
 #define MYSQLND_WIREPROTOCOL_H
 
-#include "mysqlnd_net.h"
-
 #define MYSQLND_HEADER_SIZE 4
 #define COMPRESSED_HEADER_SIZE 3