Skip to content

Commit 366f97f

Browse files
committed
Remove commented code
1 parent c2add43 commit 366f97f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ext/pdo/pdo_stmt.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,17 +1091,6 @@ static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value, enum pdo_
10911091
&val);
10921092
zval_ptr_dtor(&val);
10931093
} else {
1094-
#ifdef MBO_0
1095-
php_unserialize_data_t var_hash;
1096-
1097-
PHP_VAR_UNSERIALIZE_INIT(var_hash);
1098-
if (php_var_unserialize(return_value, (const unsigned char**)&Z_STRVAL(val), Z_STRVAL(val)+Z_STRLEN(val), NULL) == FAILURE) {
1099-
pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "cannot unserialize data");
1100-
PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
1101-
return 0;
1102-
}
1103-
PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
1104-
#endif
11051094
if (!ce->unserialize) {
11061095
zval_ptr_dtor(&val);
11071096
pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "cannot unserialize class");

0 commit comments

Comments
 (0)