From: Lars Westermann Date: Wed, 14 Nov 2007 22:15:21 +0000 (+0000) Subject: - Clearing cursor-name when closing it. X-Git-Tag: RELEASE_1_3_1~639 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9864e08ab5cdffcd8bfc6d369cfb3e9cef112b30;p=php - Clearing cursor-name when closing it. --- diff --git a/ext/pdo_firebird/firebird_statement.c b/ext/pdo_firebird/firebird_statement.c index f80a164bc5..d41a40bd4f 100644 --- a/ext/pdo_firebird/firebird_statement.c +++ b/ext/pdo_firebird/firebird_statement.c @@ -622,6 +622,7 @@ static int firebird_stmt_cursor_closer(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */ RECORD_ERROR(stmt); return 0; } + *S->name = 0; return 1; } /* }}} */