Skip to content

Commit 5011a18

Browse files
committed
Update globals to use bool type
1 parent 1ad59b3 commit 5011a18

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/mysqli/php_mysqli_structs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,13 @@ ZEND_BEGIN_MODULE_GLOBALS(mysqli)
241241
zend_long num_active_persistent;
242242
zend_long num_inactive_persistent;
243243
zend_long max_persistent;
244-
zend_long allow_persistent;
244+
bool allow_persistent;
245245
zend_ulong default_port;
246246
char *default_host;
247247
char *default_user;
248248
char *default_pw;
249249
char *default_socket;
250-
zend_long allow_local_infile;
250+
bool allow_local_infile;
251251
char *local_infile_directory;
252252
zend_long error_no;
253253
char *error_msg;

ext/odbc/php_odbc_includes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ ZEND_BEGIN_MODULE_GLOBALS(odbc)
228228
char *defDB;
229229
char *defUser;
230230
char *defPW;
231-
zend_long allow_persistent;
232-
zend_long check_persistent;
231+
bool allow_persistent;
232+
bool check_persistent;
233233
zend_long max_persistent;
234234
zend_long max_links;
235235
zend_long num_persistent;

0 commit comments

Comments
 (0)