Skip to content

Commit 754fdc6

Browse files
author
Erlend E. Aasland
committed
Resolve conflict: cached_statements now defaults to 128, not 100
1 parent 39ed36b commit 754fdc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Modules/_sqlite/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ _sqlite3.Connection.__init__ as pysqlite_connection_init
8585
isolation_level: object = NULL
8686
check_same_thread: bool(accept={int}) = True
8787
factory: object(c_default='(PyObject*)pysqlite_ConnectionType') = ConnectionType
88-
cached_statements: int = 100
88+
cached_statements: int = 128
8989
uri: bool = False
9090
[clinic start generated code]*/
9191

Modules/_sqlite/module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ _sqlite3.connect as pysqlite_connect
7373
isolation_level: object = NULL
7474
check_same_thread: bool(accept={int}) = True
7575
factory: object(c_default='(PyObject*)pysqlite_ConnectionType') = ConnectionType
76-
cached_statements: int = 100
76+
cached_statements: int = 128
7777
uri: bool = False
7878
7979
Opens a connection to the SQLite database file database.

0 commit comments

Comments
 (0)