Skip to content

Commit d55bfe4

Browse files
committed
ext/mysqli: global struct size reduction.
1 parent 64e2832 commit d55bfe4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ext/mysqli/php_mysqli_structs.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -236,21 +236,21 @@ extern void php_mysqli_fetch_into_hash_aux(zval *return_value, MYSQL_RES * resul
236236

237237

238238
ZEND_BEGIN_MODULE_GLOBALS(mysqli)
239-
zend_long num_links;
240-
zend_long max_links;
241-
zend_long num_active_persistent;
242-
zend_long num_inactive_persistent;
243-
zend_long max_persistent;
239+
unsigned short default_port;
244240
bool allow_persistent;
245-
zend_ulong default_port;
241+
bool allow_local_infile;
246242
char *default_host;
247243
char *default_user;
248244
char *default_pw;
249245
char *default_socket;
250-
bool allow_local_infile;
251246
char *local_infile_directory;
252-
zend_long error_no;
253247
char *error_msg;
248+
zend_long num_links;
249+
zend_long max_links;
250+
zend_long num_active_persistent;
251+
zend_long num_inactive_persistent;
252+
zend_long max_persistent;
253+
zend_long error_no;
254254
zend_long report_mode;
255255
bool rollback_on_cached_plink;
256256
ZEND_END_MODULE_GLOBALS(mysqli)

0 commit comments

Comments
 (0)