Skip to content

Commit fec3f35

Browse files
committed
Introduce ibase.default_lock_timeout INI setting
1 parent 9651d2d commit fec3f35

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

interbase.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,7 @@ PHP_INI_BEGIN()
780780
PHP_INI_ENTRY("ibase.dateformat", IB_DEF_DATE_FMT, PHP_INI_ALL, NULL)
781781
PHP_INI_ENTRY("ibase.timeformat", IB_DEF_TIME_FMT, PHP_INI_ALL, NULL)
782782
STD_PHP_INI_ENTRY_EX("ibase.default_trans_params", "0", PHP_INI_ALL, OnUpdateLongGEZero, default_trans_params, zend_ibase_globals, ibase_globals, php_ibase_trans_displayer)
783+
STD_PHP_INI_ENTRY_EX("ibase.default_lock_timeout", "0", PHP_INI_ALL, OnUpdateLongGEZero, default_lock_timeout, zend_ibase_globals, ibase_globals, display_link_numbers)
783784
PHP_INI_END()
784785

785786
static PHP_GINIT_FUNCTION(ibase)

php_ibase_includes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ ZEND_BEGIN_MODULE_GLOBALS(ibase)
7070
char errmsg[MAX_ERRMSG];
7171
zend_long sql_code;
7272
zend_long default_trans_params;
73+
zend_long default_lock_timeout; // only used togetger with trans_param IBASE_LOCK_TIMEOUT
7374
ZEND_END_MODULE_GLOBALS(ibase)
7475

7576
ZEND_EXTERN_MODULE_GLOBALS(ibase)

0 commit comments

Comments
 (0)