com php-src: reduce the struct size by 8 byte on 64 bit: ext/mysqlnd/mysqlnd_structs.h
| From: | Anatol Belski | Date: | Sat, 13 Sep 2014 23:12:12 +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-81587@lists.php.net to get a copy of this message | ||
Commit: 35a2937e6ba4eac6515ba960f85236d0380c36c7
Author: Anatol Belski <ab@php.net> Sun, 14 Sep 2014 01:12:12 +0200
Parents: b056859d17e62c7a57f3f0cefb3ba3eaa54485c8
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=35a2937e6ba4eac6515ba960f85236d0380c36c7
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 a011394..d77ab7e 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;
};