Skip to content

Commit 8980855

Browse files
authored
Update Modules/_sqlite/connection.c
1 parent f1ae11c commit 8980855

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/_sqlite/connection.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,8 +984,9 @@ static void _trace_callback(void* user_arg, const char* statement_string)
984984
PyGILState_STATE gilstate;
985985

986986
#ifdef HAVE_TRACE_V2
987-
if (type != SQLITE_TRACE_STMT)
987+
if (type != SQLITE_TRACE_STMT) {
988988
return 0;
989+
}
989990
#endif
990991

991992
gilstate = PyGILState_Ensure();

0 commit comments

Comments
 (0)