From: Lars Westermann Date: Fri, 16 Nov 2007 12:27:49 +0000 (+0000) Subject: - Fixed bug (again) #43271 (pdo_firebird: closeCursor not implemented) X-Git-Tag: RELEASE_1_3_1~628 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=204d70e13d8a7360cb8637f26e1c751efb3c4df5;p=php - Fixed bug (again) #43271 (pdo_firebird: closeCursor not implemented) --- diff --git a/ext/pdo_firebird/firebird_statement.c b/ext/pdo_firebird/firebird_statement.c index d9e9901dd4..8af603a6f7 100644 --- a/ext/pdo_firebird/firebird_statement.c +++ b/ext/pdo_firebird/firebird_statement.c @@ -630,7 +630,7 @@ static int firebird_stmt_cursor_closer(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ pdo_firebird_stmt *S = (pdo_firebird_stmt*)stmt->driver_data; /* close the statement handle */ - if ((*S->name || S->cursor_open) && isc_dsql_free_statement(H->isc_status, &S->stmt, DSQL_close)) { + if ((*S->name || S->cursor_open) && isc_dsql_free_statement(S->H->isc_status, &S->stmt, DSQL_close)) { RECORD_ERROR(stmt); return 0; }