dmitry          Mon Sep 12 02:31:55 2005 EDT

  Modified files:              
    /php-src/ext/pdo    pdo_stmt.c 
  Log:
  ZTS fix
  
  
http://cvs.php.net/diff.php/php-src/ext/pdo/pdo_stmt.c?r1=1.125&r2=1.126&ty=u
Index: php-src/ext/pdo/pdo_stmt.c
diff -u php-src/ext/pdo/pdo_stmt.c:1.125 php-src/ext/pdo/pdo_stmt.c:1.126
--- php-src/ext/pdo/pdo_stmt.c:1.125    Sun Sep 11 01:03:58 2005
+++ php-src/ext/pdo/pdo_stmt.c  Mon Sep 12 02:31:54 2005
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: pdo_stmt.c,v 1.125 2005/09/11 05:03:58 wez Exp $ */
+/* $Id: pdo_stmt.c,v 1.126 2005/09/12 06:31:54 dmitry Exp $ */
 
 /* The PDO Statement Handle Class */
 
@@ -1865,7 +1865,7 @@
    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 @@
    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");
 }
 /* }}} */
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to