From: Dmitry Stogov Date: Mon, 12 Sep 2005 06:31:54 +0000 (+0000) Subject: ZTS fix X-Git-Tag: RELEASE_0_9_0~238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b81255d4fd66ae8534771686facde355bd835003;p=php ZTS fix --- diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 4a4e298c54..be8ff2ee71 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -1865,7 +1865,7 @@ static PHP_METHOD(PDOStatement, debugDumpParams) Prevents use of a PDOStatement instance that has been unserialized */ static PHP_METHOD(PDOStatement, __wakeup) { - zend_throw_exception_ex(php_pdo_get_exception(), 0 TSRMLS_CC, "You cannot serialize or unserialize PDOStatement instances"); + zend_throw_exception_ex(php_pdo_get_exception(TSRMLS_C), 0 TSRMLS_CC, "You cannot serialize or unserialize PDOStatement instances"); } /* }}} */ @@ -1873,7 +1873,7 @@ static PHP_METHOD(PDOStatement, __wakeup) Prevents serialization of a PDOStatement instance */ static PHP_METHOD(PDOStatement, __sleep) { - zend_throw_exception_ex(php_pdo_get_exception(), 0 TSRMLS_CC, "You cannot serialize or unserialize PDOStatement instances"); + zend_throw_exception_ex(php_pdo_get_exception(TSRMLS_C), 0 TSRMLS_CC, "You cannot serialize or unserialize PDOStatement instances"); } /* }}} */