From 154cf362c1934e19fbe06923e9f25f13b2c53de0 Mon Sep 17 00:00:00 2001 From: Sean Quah Date: Thu, 26 Jan 2023 18:50:15 +0000 Subject: [PATCH] fixup comment --- synapse/storage/engines/sqlite.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synapse/storage/engines/sqlite.py b/synapse/storage/engines/sqlite.py index 12204707e96d..28751e89a5a5 100644 --- a/synapse/storage/engines/sqlite.py +++ b/synapse/storage/engines/sqlite.py @@ -142,6 +142,8 @@ def executescript(cursor: sqlite3.Cursor, script: str) -> None: > first. No other implicit transaction control is performed; any transaction > control must be added to sql_script. """ + # The implementation of `executescript` can be found at + # https://github.com/python/cpython/blob/3.11/Modules/_sqlite/cursor.c#L1035. cursor.executescript(f"BEGIN TRANSACTION; {script}")