mirror of
https://github.com/php/php-src.git
synced 2024-12-01 22:03:36 +08:00
fix 5705
.
This commit is contained in:
parent
9de5b9e04a
commit
0690bca499
@ -28,8 +28,6 @@
|
||||
|
||||
#if HAVE_SYBASE_CT
|
||||
|
||||
|
||||
|
||||
function_entry sybase_functions[] = {
|
||||
PHP_FE(sybase_connect, NULL)
|
||||
PHP_FE(sybase_pconnect, NULL)
|
||||
@ -559,7 +557,7 @@ static void php_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
|
||||
ptr = zend_list_find(link,&type); /* check if the link is still there */
|
||||
if (ptr && (type==sybase_globals.le_link || type==sybase_globals.le_plink)) {
|
||||
return_value->value.lval = sybase_globals.default_link = link;
|
||||
return_value->type = IS_LONG;
|
||||
return_value->type = IS_RESOURCE;
|
||||
efree(hashed_details);
|
||||
return;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user