Patch firebird_bind_blob for PDO Firebird Bug #61183
Patch version 2016-09-16 17:22 UTC
Return to Bug #61183 |
Download this patch
Patch Revisions:
Developer: cmb@php.net
ext/pdo_firebird/firebird_statement.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/ext/pdo_firebird/firebird_statement.c b/ext/pdo_firebird/firebird_statement.c
index d1f1012..445e6c9 100644
--- a/ext/pdo_firebird/firebird_statement.c
+++ b/ext/pdo_firebird/firebird_statement.c
@@ -422,8 +422,6 @@ static int firebird_bind_blob(pdo_stmt_t *stmt, ISC_QUAD *blob_id, zval *param T
return 0;
}
- SEPARATE_ZVAL(¶m);
-
convert_to_string_ex(¶m);
for (rem_cnt = Z_STRLEN_P(param); rem_cnt > 0; rem_cnt -= chunk_size) {
@@ -438,8 +436,6 @@ static int firebird_bind_blob(pdo_stmt_t *stmt, ISC_QUAD *blob_id, zval *param T
put_cnt += chunk_size;
}
- zval_dtor(param);
-
if (isc_close_blob(H->isc_status, &h)) {
RECORD_ERROR(stmt);
return 0;
|