1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00

Remove useless RINIT/RSHUTDOWN calls

This commit is contained in:
Rasmus Lerdorf
2006-06-07 21:13:33 +00:00
parent 72a4a1362a
commit 2ef05dfd60
2 changed files with 5 additions and 20 deletions

View File

@@ -137,14 +137,17 @@ zend_module_entry pdo_module_entry = {
pdo_functions,
PHP_MINIT(pdo),
PHP_MSHUTDOWN(pdo),
PHP_RINIT(pdo),
PHP_RSHUTDOWN(pdo),
NULL,
NULL,
PHP_MINFO(pdo),
"1.1dev",
STANDARD_MODULE_PROPERTIES
};
/* }}} */
/* TODO: visit persistent handles: for each persistent statement handle,
* remove bound parameter associations in RSHUTDOWN */
#ifdef COMPILE_DL_PDO
ZEND_GET_MODULE(pdo)
#endif
@@ -348,22 +351,6 @@ PHP_MSHUTDOWN_FUNCTION(pdo)
}
/* }}} */
/* {{{ PHP_RINIT_FUNCTION */
PHP_RINIT_FUNCTION(pdo)
{
return SUCCESS;
}
/* }}} */
/* {{{ PHP_RSHUTDOWN_FUNCTION */
PHP_RSHUTDOWN_FUNCTION(pdo)
{
/* TODO: visit persistent handles: for each persistent statement handle,
* remove bound parameter associations */
return SUCCESS;
}
/* }}} */
/* {{{ PHP_MINFO_FUNCTION */
PHP_MINFO_FUNCTION(pdo)
{

View File

@@ -48,8 +48,6 @@ extern zend_module_entry pdo_module_entry;
PHP_MINIT_FUNCTION(pdo);
PHP_MSHUTDOWN_FUNCTION(pdo);
PHP_RINIT_FUNCTION(pdo);
PHP_RSHUTDOWN_FUNCTION(pdo);
PHP_MINFO_FUNCTION(pdo);
ZEND_BEGIN_MODULE_GLOBALS(pdo)