summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_structs.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-09-14 01:22:55 +0200
committerAnatol Belski <ab@php.net>2014-09-14 01:22:55 +0200
commitcac71ecc932fde1358fa74547eaf737fc030c1f0 (patch)
tree7554284ea7b38965bbfb74d5fa9a9ac7b2a07f39 /ext/mysqlnd/mysqlnd_structs.h
parent35a2937e6ba4eac6515ba960f85236d0380c36c7 (diff)
downloadphp-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.h13
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;
};