diff --git a/silk/sql.py b/silk/sql.py index 881c1d8a..cd7c4eae 100644 --- a/silk/sql.py +++ b/silk/sql.py @@ -89,6 +89,8 @@ def _should_wrap(self, sql_query): 'SAVEPOINT', 'RELEASE SAVEPOINT', 'ROLLBACK TO SAVEPOINT', + 'SET SESSION TRANSACTION', + 'SET CONSTRAINTS', 'PRAGMA', connection.ops.explain_query_prefix(), ]