8000 [3.10] bpo-42972: Track sqlite3 statement objects (GH-26475) by erlend-aasland · Pull Request #26515 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
8000

[3.10] bpo-42972: Track sqlite3 statement objects (GH-26475) #26515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 3, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
_pysqlite_seterror takes two args in 3.10
  • Loading branch information
Erlend E. Aasland committed Jun 3, 2021
commit a39744aa2c47e96e6ef144f5e784fc904081655b
2 changes: 1 addition & 1 deletion Modules/_sqlite/statement.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pysqlite_statement_create(pysqlite_Connection *connection, PyObject *sql)
PyObject_GC_Track(self);

if (rc != SQLITE_OK) {
_pysqlite_seterror(self->db);
_pysqlite_seterror(self->db, NULL);
goto error;
}

Expand Down
0