#21481 [NEW]: mssql_close function don't close connection
| From: | pvy at novosoft dot ru | Date: | Tue, 07 Jan 2003 08:06:41 +0000 |
| Subject: | #21481 [NEW]: mssql_close function don't close connection | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-29275@lists.php.net to get a copy of this message | ||
From: pvy@novosoft.ru
Operating system: windows 2000/sp3
PHP version: 4CVS-2003-01-07 (stable)
PHP Bug Type: MSSQL related
Bug description: mssql_close function don't close connection
Hello!
I call mssql_close function for close connection
but, as I see in php_mssql.c file this function
do nothing (ie don't really closes connection)
see code:
ZEND_FETCH_RESOURCE2(mssql_ptr, mssql_link *, mssql_link_index, id, "MS
SQL-Link", le_link, le_plink);
if (mssql_link_index)
zend_list_delete(Z_LVAL_PP(mssql_link_index));
else
zend_list_delete(id);
RETURN_TRUE;
where is dbclose and dbfreelogin staments?
vladimir
Novosibirsk,
Russia
--
Edit bug report at http://bugs.php.net/?id=21481&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21481&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21481&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21481&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21481&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21481&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21481&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21481&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21481&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21481&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21481&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21481&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21481&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21481&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21481&r=gnused