com php-src: reduce the struct size by 8 byte on 64 bit: ext/mysqlnd/mysqlnd_structs.h

From: Date: Sat, 13 Sep 2014 23:22:55 +0000
Subject: com php-src: reduce the struct size by 8 byte on 64 bit: ext/mysqlnd/mysqlnd_structs.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81585@lists.php.net to get a copy of this message
Commit: cac71ecc932fde1358fa74547eaf737fc030c1f0 Author: Anatol Belski <ab@php.net> Sun, 14 Sep 2014 01:22:55 +0200 Parents: 35a2937e6ba4eac6515ba960f85236d0380c36c7 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cac71ecc932fde1358fa74547eaf737fc030c1f0 Log: reduce the struct size by 8 byte on 64 bit Changed paths: M ext/mysqlnd/mysqlnd_structs.h Diff: diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h index d77ab7e..28cc1ee 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; };

« previous php.cvs (#81585) next »