From 2bc54e2a1ab7a2d3994a0cf270261665fe1a2df7 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Mon, 1 Mar 2021 10:53:16 +0100 Subject: [PATCH] bpo-43350: Don't reset active statements twice --- Modules/_sqlite/cursor.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c index ddacb2745d34d1..bc52d5c0b96d3f 100644 --- a/Modules/_sqlite/cursor.c +++ b/Modules/_sqlite/cursor.c @@ -462,10 +462,6 @@ _pysqlite_query_execute(pysqlite_Cursor* self, int multiple, PyObject* operation goto error; } - if (self->statement) { - (void)pysqlite_statement_reset(self->statement); - } - Py_XSETREF(self->statement, (pysqlite_Statement *)pysqlite_cache_get(self->connection->statement_cache, func_args)); Py_DECREF(func_args); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy