diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-23 13:34:42 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-23 13:34:42 +0200 |
| commit | 366f97f0704e590974d3beb2be2286e58372a5ff (patch) | |
| tree | 6247a7eb1d89cb7931b4b3cea431ee50ed8e0a2d | |
| parent | c2add43bbc8a278b4f306847dbd9b3f222237d32 (diff) | |
| download | php-git-366f97f0704e590974d3beb2be2286e58372a5ff.tar.gz | |
Remove commented code
| -rw-r--r-- | ext/pdo/pdo_stmt.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 52d38ca194..67fce95137 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -1091,17 +1091,6 @@ static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, enum pdo_ &val); zval_ptr_dtor(&val); } else { -#ifdef MBO_0 - php_unserialize_data_t var_hash; - - PHP_VAR_UNSERIALIZE_INIT(var_hash); - if (php_var_unserialize(return_value, (const unsigned char**)&Z_STRVAL(val), Z_STRVAL(val)+Z_STRLEN(val), NULL) == FAILURE) { - pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "cannot unserialize data"); - PHP_VAR_UNSERIALIZE_DESTROY(var_hash); - return 0; - } - PHP_VAR_UNSERIALIZE_DESTROY(var_hash); -#endif if (!ce->unserialize) { zval_ptr_dtor(&val); pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "cannot unserialize class"); |
