From c51e32860a404bc16e844ad1c3685dc8cdee14a9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Apr 2013 16:33:54 +0200 Subject: [PATCH 1/2] NEW for #64565 --- NEWS | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS b/NEWS index ad4852d4b513..7f29c31b7973 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,7 @@ PHP NEWS - Core: . Fixed bug #64433 (follow_location parameter of context is ignored for most response codes). (Sergey Akbarov) + . Fixed bug #64565 (copy doesn't report failure on partial copy). (Remi) ?? ??? 2013, PHP 5.4.14 - Core: From e9cbf6718e09337bd852cb2e1c886d1b96112e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Capil=C3=A9?= Date: Tue, 2 Apr 2013 18:44:00 -0300 Subject: [PATCH 2/2] there's no need to close the connection when closing the cursor. See bug #64522 --- ext/pdo_dblib/dblib_stmt.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c index 1a2fefd47a9b..bcfdd148116a 100644 --- a/ext/pdo_dblib/dblib_stmt.c +++ b/ext/pdo_dblib/dblib_stmt.c @@ -82,12 +82,6 @@ static char *pdo_dblib_get_field_name(int type) static int dblib_dblib_stmt_cursor_closer(pdo_stmt_t *stmt TSRMLS_DC) { - pdo_dblib_stmt *S = (pdo_dblib_stmt*)stmt->driver_data; - pdo_dblib_db_handle *H = S->H; - - /* Cancel any pending results */ - dbcancel(H->link); - efree(stmt->columns); stmt->columns = NULL;