Skip to content
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
Next Next commit
Make exception string greppable
  • Loading branch information
erlend-aasland committed Apr 29, 2022
commit 4e9ef1062df1296fab526d03b0955da640e3b38b
3 changes: 1 addition & 2 deletions Modules/_sqlite/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -1361,8 +1361,7 @@ trace_callback(void *ctx, const char *sql)
}

PyErr_SetString(state->DataError,
"Expanded SQL string exceeds the maximum string "
"length");
"Expanded SQL string exceeds the maximum string length");
print_or_clear_traceback((callback_context *)ctx);

// Fall back to unexpanded sql
Expand Down