From: Anatol Belski Date: Sat, 13 Sep 2014 23:12:12 +0000 (+0200) Subject: reduce the struct size by 8 byte on 64 bit X-Git-Tag: PRE_NATIVE_TLS_MERGE~158^2~85^2~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35a2937e6ba4eac6515ba960f85236d0380c36c7;p=php reduce the struct size by 8 byte on 64 bit --- diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h index a01139489c..d77ab7e9dd 100644 --- a/ext/mysqlnd/mysqlnd_structs.h +++ b/ext/mysqlnd/mysqlnd_structs.h @@ -1055,6 +1055,8 @@ struct st_mysqlnd_buffered_result_c struct st_mysqlnd_unbuffered_result { + struct st_mysqlnd_result_unbuffered_methods m; + uint64_t row_count; /* For unbuffered (both normal and PS) */ zval *last_row_data; @@ -1070,14 +1072,13 @@ struct st_mysqlnd_unbuffered_result struct st_mysqlnd_packet_row * row_packet; - uint64_t row_count; + unsigned int field_count; + zend_bool eof_reached; - unsigned int field_count; zend_bool ps; zend_bool persistent; - struct st_mysqlnd_result_unbuffered_methods m; };