8000 bpo-44839: Raise more specific errors in sqlite3 by serhiy-storchaka · Pull Request #27613 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-44839: Raise more specific errors in sqlite3 #27613

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
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
Update Modules/_sqlite/connection.c
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
  • Loading branch information
serhiy-storchaka and Erlend Egeberg Aasland authored Aug 6, 2021
commit 4de7af86f33c6eec83d43e5d00e1238ab057d6a8
3 changes: 1 addition & 2 deletions Modules/_sqlite/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,7 @@ _pysqlite_func_callback(sqlite3_context *context, int argc, sqlite3_value **argv
Py_DECREF(py_retval);
}
if (!ok) {
set_sqlite_error(context,
"user-defined function raised exception");
set_sqlite_error(context, "user-defined function raised exception");
}

PyGILState_Release(threadstate);
Expand Down
0