diff options
author | Zeev Suraski <zeev@php.net> | 2000-07-05 20:41:06 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-07-05 20:41:06 +0000 |
commit | 37de6635b4c341ec853a0eaef33bf0c47c985751 (patch) | |
tree | f4814f6363e4c63d061671cdae9221b9d7e4a9e7 /ext | |
parent | 46a9e6c23f202922416c2ed775f552f1ef33b5a0 (diff) | |
download | php-git-37de6635b4c341ec853a0eaef33bf0c47c985751.tar.gz |
That's no bug, it's quite fine the way it is (if id is
set to -1, it's ignored, and the passed_id argument is used).
If you're experiencing trouble with mysql_close(), please give me a
reproducing script. If there's a bug, it's not as simple as that.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/mysql/php_mysql.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 3a3747bee8..ac87d54226 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -598,9 +598,6 @@ PHP_FUNCTION(mysql_close) } ZEND_FETCH_RESOURCE2(mysql, MYSQL *, mysql_link, id, "MySQL-Link", le_link, le_plink); - - /* XXX shouldn't this be zend_list_delete((*mysql_link)->value.lval) - * if the optional parameter is present? (steinm@php.net) */ zend_list_delete(id); RETURN_TRUE; } |