From b2126a848a4938a4be2b595e45fae347598b4f8f Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 6 Feb 2005 16:46:18 +0000 Subject: [PATCH] This will probably fix PECL Bug #3273 --- ext/pdo/pdo_stmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index fa9cdab593..a3614180d1 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -322,7 +322,7 @@ static PHP_METHOD(PDOStatement, execute) if (ret == 0) { /* no changes were made */ stmt->active_query_string = stmt->query_string; - stmt->active_query_stringlen = stmt->active_query_stringlen; + stmt->active_query_stringlen = stmt->query_stringlen; } else if (ret == -1) { /* something broke */ PDO_HANDLE_STMT_ERR(); -- 2.50.1