Skip to content

Commit

Permalink
Introduce ibase.default_lock_timeout INI setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mlazdans committed Mar 4, 2025
1 parent 9651d2d commit fec3f35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions interbase.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ PHP_INI_BEGIN()
PHP_INI_ENTRY("ibase.dateformat", IB_DEF_DATE_FMT, PHP_INI_ALL, NULL)
PHP_INI_ENTRY("ibase.timeformat", IB_DEF_TIME_FMT, PHP_INI_ALL, NULL)
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)
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)
PHP_INI_END()

static PHP_GINIT_FUNCTION(ibase)
Expand Down
1 change: 1 addition & 0 deletions php_ibase_includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ ZEND_BEGIN_MODULE_GLOBALS(ibase)
char errmsg[MAX_ERRMSG];
zend_long sql_code;
zend_long default_trans_params;
zend_long default_lock_timeout; // only used togetger with trans_param IBASE_LOCK_TIMEOUT
ZEND_END_MODULE_GLOBALS(ibase)

ZEND_EXTERN_MODULE_GLOBALS(ibase)
Expand Down

0 comments on commit fec3f35

Please sign in to comment.