diff options
author | Marcus Boerger <helly@php.net> | 2005-02-28 19:23:56 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-02-28 19:23:56 +0000 |
commit | 6ce9bcc31e62adc259e4574acbb8670935fc5979 (patch) | |
tree | c22c9beb7465e864e453abd5b5c3da49b86ee054 | |
parent | ddd62f2b075484a73b59c5da77892991c0037c56 (diff) | |
download | php-git-6ce9bcc31e62adc259e4574acbb8670935fc5979.tar.gz |
- Need to drop ce until engine gets fixed
-rwxr-xr-x | ext/pdo/pdo_stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index e8bb2dd008..3d5ca21c33 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -870,7 +870,7 @@ static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, if (!ce->unserialize) { zend_throw_exception_ex(pdo_exception_ce, 0 TSRMLS_CC, "Class %s cannot be unserialized", ce->name); return 0; - } else if (ce->unserialize(&return_value, ce, Z_TYPE_P(val) == IS_STRING ? Z_STRVAL_P(val) : "", Z_TYPE_P(val) == IS_STRING ? Z_STRLEN_P(val) : 0, NULL TSRMLS_CC) == FAILURE) { + } else if (ce->unserialize(&return_value, Z_TYPE_P(val) == IS_STRING ? Z_STRVAL_P(val) : "", Z_TYPE_P(val) == IS_STRING ? Z_STRLEN_P(val) : 0, NULL TSRMLS_CC) == FAILURE) { zend_throw_exception_ex(pdo_exception_ce, 0 TSRMLS_CC, "Class %s cannot be unserialized", ce->name); zval_dtor(return_value); ZVAL_NULL(return_value); |