mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-44079: Strip superfluous statement cache from sqlite3.Connection (GH-25998)
This commit is contained in:
parent
b2f68b1900
commit
243b6c3b8f
4 changed files with 18 additions and 116 deletions
|
@ -60,12 +60,10 @@ typedef struct
|
|||
PyObject *statement_cache;
|
||||
|
||||
/* Lists of weak references to statements and cursors used within this connection */
|
||||
PyObject* statements;
|
||||
PyObject* cursors;
|
||||
|
||||
/* Counters for how many statements/cursors were created in the connection. May be
|
||||
/* Counters for how many cursors were created in the connection. May be
|
||||
* reset to 0 at certain intervals */
|
||||
int created_statements;
|
||||
int created_cursors;
|
||||
|
||||
PyObject* row_factory;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue