From 83311dc7382a6fbf22da72cd4bfe230e5308467a Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 21 Jun 2026 10:02:21 -0700 Subject: [PATCH] No need to quote_identifier here --- sqlite_utils/db.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sqlite_utils/db.py b/sqlite_utils/db.py index 868646b..e021a97 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -414,9 +414,7 @@ class Database: Nested blocks use SQLite savepoints. """ if self.conn.in_transaction: - savepoint = quote_identifier( - "sqlite_utils_{}".format(secrets.token_hex(16)) - ) + savepoint = "sqlite_utils_{}".format(secrets.token_hex(16)) self.conn.execute("SAVEPOINT {};".format(savepoint)) try: yield self