diff options
author | Frank M. Kromann <fmk@php.net> | 2001-04-04 20:10:14 +0000 |
---|---|---|
committer | Frank M. Kromann <fmk@php.net> | 2001-04-04 20:10:14 +0000 |
commit | 382e3c5ad664f206e2fbd9ebb4b2685a99e5f9b7 (patch) | |
tree | 989471b133b3ea84872a348ff9eea626725bc314 /ext/fbsql/php_fbsql.c | |
parent | 66553616ecb4c959ecb0a433e993e633ffb87930 (diff) | |
download | php-git-382e3c5ad664f206e2fbd9ebb4b2685a99e5f9b7.tar.gz |
Adding empty RSHUTDOWN function.
Diffstat (limited to 'ext/fbsql/php_fbsql.c')
-rw-r--r-- | ext/fbsql/php_fbsql.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c index d079448842..41e69ad9fe 100644 --- a/ext/fbsql/php_fbsql.c +++ b/ext/fbsql/php_fbsql.c @@ -237,7 +237,7 @@ zend_module_entry fbsql_module_entry = { PHP_MINIT(fbsql), PHP_MSHUTDOWN(fbsql), PHP_RINIT(fbsql), - NULL, + PHP_RSHUTDOWN(fbsql), PHP_MINFO(fbsql), STANDARD_MODULE_PROPERTIES }; @@ -361,12 +361,13 @@ PHPFBLink* phpfbRetainLink (PHPFBLink* link) void phpfbReleaseLink (PHPFBLink* link) { + FBSQLLS_FETCH(); if (link) { link->retainCount--; if (link->retainCount == 0) { -/* if (link->index == FB_SQL_G(linkIndex) FB_SQL_G(linkIndex = 0; */ + if (link->index == FB_SQL_G(linkIndex)) FB_SQL_G(linkIndex)--; free(link->hostName); free(link->userName); free(link->userPassword); @@ -450,6 +451,11 @@ PHP_RINIT_FUNCTION(fbsql) return SUCCESS; } +PHP_RSHUTDOWN_FUNCTION(fbsql) +{ + return SUCCESS; +} + PHP_MINFO_FUNCTION(fbsql) { char buf[32]; |