summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/connection.h
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-06-06 22:11:44 (GMT)
committerGitHub <noreply@github.com>2021-06-06 22:11:44 (GMT)
commit505624e917a2d3d845304f8d34fccd41f06d4720 (patch)
treeb0285afa43f6d940fad8c9135970bc95c4d027dc /Modules/_sqlite/connection.h
parent18e9edb7b3b9d71ad6e0753af843551e8e415208 (diff)
downloadcpython-505624e917a2d3d845304f8d34fccd41f06d4720.zip
cpython-505624e917a2d3d845304f8d34fccd41f06d4720.tar.gz
cpython-505624e917a2d3d845304f8d34fccd41f06d4720.tar.bz2
bpo-44327: Remove unused members from pysqlite_Connection (GH-26565)
* Remove timeout_started * Remove timeout member
Diffstat (limited to 'Modules/_sqlite/connection.h')
-rw-r--r--Modules/_sqlite/connection.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/_sqlite/connection.h b/Modules/_sqlite/connection.h
index 03845a6..88c58b3 100644
--- a/Modules/_sqlite/connection.h
+++ b/Modules/_sqlite/connection.h
@@ -41,13 +41,6 @@ typedef struct
* bitwise combination thereof makes sense */
int detect_types;
- /* the timeout value in seconds for database locks */
- double timeout;
-
- /* for internal use in the timeout handler: when did the timeout handler
- * first get called with count=0? */
- double timeout_started;
-
/* None for autocommit, otherwise a PyUnicode with the isolation level */
PyObject* isolation_level;