summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-01-11 13:02:57 +0000
committerAndrey Hristov <andrey@php.net>2011-01-11 13:02:57 +0000
commitddbbcdce49090c06183261c6dca9c340ed9d1d21 (patch)
treea083494699c2010585a2b62c9f7b89fa9f5e01cc /ext/mysqlnd/mysqlnd_wireprotocol.h
parentd5af830385ccbf1000694ecdb6a5dcd63513a9f4 (diff)
downloadphp-git-ddbbcdce49090c06183261c6dca9c340ed9d1d21.tar.gz
Use common code to handle initial authentication and
COM_CHANGE_USER
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h
index ae0aa3040b..39645cb08c 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.h
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.h
@@ -101,7 +101,9 @@ typedef struct st_mysqlnd_packet_auth {
/* +1 for \0 because of scramble() */
unsigned char *server_scramble_buf;
size_t db_len;
- zend_bool send_half_packet;
+ zend_bool send_auth_data;
+ zend_bool is_change_user_packet;
+ zend_bool silent;
} MYSQLND_PACKET_AUTH;
/* OK packet */