summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2015-11-05 15:26:33 +0100
committerAndrey Hristov <andrey@php.net>2015-11-12 16:19:16 +0100
commitb8b1d45c3c9b5ceba2e3a12108c84e122e2e20b1 (patch)
tree5049da63f896bba86db42f985482921462797f1b /ext/mysqlnd/mysqlnd_wireprotocol.h
parente6419ab401be54efba390f0ac695f08b6e66baa3 (diff)
downloadphp-git-b8b1d45c3c9b5ceba2e3a12108c84e122e2e20b1.tar.gz
MNDR:
- move connection establishment code to own command - COM_HANDSHAKE
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h
index cace621d3f..58ef62c645 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.h
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.h
@@ -78,9 +78,8 @@ typedef struct st_mysqlnd_packet_greet {
uint8_t protocol_version;
char *server_version;
uint32_t thread_id;
- zend_uchar intern_auth_plugin_data[SCRAMBLE_LENGTH];
- zend_uchar * auth_plugin_data;
- size_t auth_plugin_data_len;
+ char intern_auth_plugin_data[SCRAMBLE_LENGTH];
+ MYSQLND_STRING authentication_plugin_data;
/* 1 byte pad */
uint32_t server_capabilities;
uint8_t charset_no;