From: Dmitry Stogov Date: Thu, 28 Feb 2008 16:59:21 +0000 (+0000) Subject: We don't nave to change request shutdown sequence if dl() was failed X-Git-Tag: RELEASE_2_0_0a1~293 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e338f39423a98a55ec99f29c0e00f02738681fac;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 7d5d4b7926..03cc138d02 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -78,7 +78,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; + } } /* }}} */