]> granicus.if.org Git - php/commitdiff
This will probably fix PECL Bug #3273
authorWez Furlong <wez@php.net>
Sun, 6 Feb 2005 16:46:18 +0000 (16:46 +0000)
committerWez Furlong <wez@php.net>
Sun, 6 Feb 2005 16:46:18 +0000 (16:46 +0000)
ext/pdo/pdo_stmt.c

index fa9cdab5932d0b2740cd37683d4c6020abe00c4f..a3614180d1b5a04c6d33018a8f7a34da129dccaa 100755 (executable)
@@ -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();