Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit686d70f

Browse files
author
Erlend E. Aasland
committed
Bail if get_threadsafety() fails
1 parentabb7bae commit686d70f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎Modules/_sqlite/module.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,9 @@ module_exec(PyObject *module)
587587
}
588588

589589
intthreadsafety=get_threadsafety(state);
590+
if (threadsafety<0) {
591+
gotoerror;
592+
}
590593
if (PyModule_AddIntConstant(module,"threadsafety",threadsafety)<0) {
591594
gotoerror;
592595
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp