From: Anatol Belski Date: Sun, 14 Sep 2014 07:40:56 +0000 (+0200) Subject: reduce the struct size by 8 byte on 64 bit X-Git-Tag: PRE_NATIVE_TLS_MERGE~158^2~85^2~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65100a64744c16e313e1d716945093a55b1a7a20;p=php reduce the struct size by 8 byte on 64 bit --- diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h index b40808d595..c64e6ccc78 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.h +++ b/ext/mysqlnd/mysqlnd_wireprotocol.h @@ -90,20 +90,20 @@ typedef struct st_mysqlnd_packet_greet { /* Client authenticates */ typedef struct st_mysqlnd_packet_auth { MYSQLND_PACKET_HEADER header; - uint32_t client_flags; - uint32_t max_packet_size; - uint8_t charset_no; const char *user; const zend_uchar *auth_data; size_t auth_data_len; const char *db; const char *auth_plugin_name; + uint32_t client_flags; + uint32_t max_packet_size; + uint8_t charset_no; /* Here the packet ends. This is user supplied data */ - size_t db_len; zend_bool send_auth_data; zend_bool is_change_user_packet; zend_bool silent; HashTable *connect_attr; + size_t db_len; } MYSQLND_PACKET_AUTH; /* Auth response packet */