diff options
author | Anatol Belski <ab@php.net> | 2014-09-14 01:12:12 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-09-14 01:12:12 +0200 |
commit | 35a2937e6ba4eac6515ba960f85236d0380c36c7 (patch) | |
tree | bae9ddad3fdd0ebfdd75852dacc92f7d8582e02e /ext/mysqlnd/mysqlnd_structs.h | |
parent | b056859d17e62c7a57f3f0cefb3ba3eaa54485c8 (diff) | |
download | php-git-35a2937e6ba4eac6515ba960f85236d0380c36c7.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 | 7 |
1 files changed, 4 insertions, 3 deletions
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; }; |