diff options
| author | Anatol Belski <ab@php.net> | 2014-09-14 09:40:56 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2014-09-14 09:40:56 +0200 |
| commit | 65100a64744c16e313e1d716945093a55b1a7a20 (patch) | |
| tree | 6e0bc1904a9cbb5d8cb361648aa55387fd699802 /ext/mysqlnd/mysqlnd_wireprotocol.h | |
| parent | 27d0cfb8a76a7d093d67d394a46e64e6f9162e14 (diff) | |
| download | php-git-65100a64744c16e313e1d716945093a55b1a7a20.tar.gz | |
reduce the struct size by 8 byte on 64 bit
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
| -rw-r--r-- | ext/mysqlnd/mysqlnd_wireprotocol.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 */ |
