mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fixes to ext/dba
This commit is contained in:
parent
3e9bab4d83
commit
b9c44ce85e
1 changed files with 3 additions and 3 deletions
|
@ -256,7 +256,7 @@ static size_t php_dba_make_key(zval *key, char **key_str, char **key_free TSRMLS
|
||||||
zval *key; \
|
zval *key; \
|
||||||
char *key_str, *key_free; \
|
char *key_str, *key_free; \
|
||||||
size_t key_len; \
|
size_t key_len; \
|
||||||
long skip = 0; \
|
php_int_t skip = 0; \
|
||||||
switch(ac) { \
|
switch(ac) { \
|
||||||
case 2: \
|
case 2: \
|
||||||
if (zend_parse_parameters(ac TSRMLS_CC, "zr", &key, &id) == FAILURE) { \
|
if (zend_parse_parameters(ac TSRMLS_CC, "zr", &key, &id) == FAILURE) { \
|
||||||
|
@ -264,7 +264,7 @@ static size_t php_dba_make_key(zval *key, char **key_str, char **key_free TSRMLS
|
||||||
} \
|
} \
|
||||||
break; \
|
break; \
|
||||||
case 3: \
|
case 3: \
|
||||||
if (zend_parse_parameters(ac TSRMLS_CC, "zlr", &key, &skip, &id) == FAILURE) { \
|
if (zend_parse_parameters(ac TSRMLS_CC, "zir", &key, &skip, &id) == FAILURE) { \
|
||||||
return; \
|
return; \
|
||||||
} \
|
} \
|
||||||
break; \
|
break; \
|
||||||
|
@ -1243,7 +1243,7 @@ PHP_FUNCTION(dba_handlers)
|
||||||
List opened databases */
|
List opened databases */
|
||||||
PHP_FUNCTION(dba_list)
|
PHP_FUNCTION(dba_list)
|
||||||
{
|
{
|
||||||
ulong numitems, i;
|
php_uint_t numitems, i;
|
||||||
zend_resource *le;
|
zend_resource *le;
|
||||||
dba_info *info;
|
dba_info *info;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue