From: Dmitry Stogov Date: Thu, 28 Feb 2008 16:59:10 +0000 (+0000) Subject: We don't nave to change request shutdown sequence if dl() was failed X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~725 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4cdbb5b060024683128c5f0be9bad982ab8bfb5d;p=php We don't nave to change request shutdown sequence if dl() was failed --- diff --git a/ext/standard/dl.c b/ext/standard/dl.c index e4b668139a..ed1412a919 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -85,7 +85,9 @@ PHP_FUNCTION(dl) } php_dl(filename, MODULE_TEMPORARY, return_value, 0 TSRMLS_CC); - EG(full_tables_cleanup) = 1; + if (Z_LVAL_P(return_value) == 1) { + EG(full_tables_cleanup) = 1; + } } /* }}} */