]> granicus.if.org Git - php/commitdiff
- Fixed bug (again) #43271 (pdo_firebird: closeCursor not implemented)
authorLars Westermann <lwe@php.net>
Fri, 16 Nov 2007 12:27:49 +0000 (12:27 +0000)
committerLars Westermann <lwe@php.net>
Fri, 16 Nov 2007 12:27:49 +0000 (12:27 +0000)
ext/pdo_firebird/firebird_statement.c

index d9e9901dd478f667f66ce45c56ef2e3ab8e64f19..8af603a6f710830b97be5899925478448687cca3 100644 (file)
@@ -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;
        }