]> granicus.if.org Git - php/commitdiff
ZTS fix
authorDmitry Stogov <dmitry@php.net>
Mon, 12 Sep 2005 06:31:54 +0000 (06:31 +0000)
committerDmitry Stogov <dmitry@php.net>
Mon, 12 Sep 2005 06:31:54 +0000 (06:31 +0000)
ext/pdo/pdo_stmt.c

index 4a4e298c5486ae7b5d3bfa6ebed76f18224fe24d..be8ff2ee7134655a2279de3cd6c000e7cd4d1e14 100755 (executable)
@@ -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");
 }
 /* }}} */