]> granicus.if.org Git - php/commitdiff
# Also nulling cursor_open when closing a named cursor
authorLars Westermann <lwe@php.net>
Wed, 14 Nov 2007 23:19:29 +0000 (23:19 +0000)
committerLars Westermann <lwe@php.net>
Wed, 14 Nov 2007 23:19:29 +0000 (23:19 +0000)
ext/pdo_firebird/firebird_statement.c

index d41a40bd4fc77144e58a874c86b8faa37a0934ec..f581e24b4ae9e3ea9bfe1dcd93af0c3842eee777 100644 (file)
@@ -623,6 +623,7 @@ static int firebird_stmt_cursor_closer(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */
                return 0;
        }
        *S->name = 0;
+       S->cursor_open = 0;
        return 1;
 }
 /* }}} */