summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pdo/pdo_stmt.c11
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");