diff options
author | Anatol Belski <ab@php.net> | 2014-09-14 01:22:55 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-09-14 01:22:55 +0200 |
commit | cac71ecc932fde1358fa74547eaf737fc030c1f0 (patch) | |
tree | 7554284ea7b38965bbfb74d5fa9a9ac7b2a07f39 /ext/mysqlnd/mysqlnd_structs.h | |
parent | 35a2937e6ba4eac6515ba960f85236d0380c36c7 (diff) | |
download | php-git-cac71ecc932fde1358fa74547eaf737fc030c1f0.tar.gz |
reduce the struct size by 8 byte on 64 bit
Diffstat (limited to 'ext/mysqlnd/mysqlnd_structs.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_structs.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h index d77ab7e9dd..28cc1eed2f 100644 --- a/ext/mysqlnd/mysqlnd_structs.h +++ b/ext/mysqlnd/mysqlnd_structs.h @@ -994,14 +994,17 @@ struct st_mysqlnd_result_metadata { MYSQLND_FIELD *fields; struct mysqlnd_field_hash_key *zend_hash_keys; - unsigned int current_field; - unsigned int field_count; + + struct st_mysqlnd_res_meta_methods * m; + + size_t bit_fields_total_len; /* trailing \0 not counted */ /* We need this to make fast allocs in rowp_read */ unsigned int bit_fields_count; - size_t bit_fields_total_len; /* trailing \0 not counted */ - zend_bool persistent; - struct st_mysqlnd_res_meta_methods * m; + unsigned int current_field; + unsigned int field_count; + + zend_bool persistent; }; |