Message400505
See also bpo-45040
Since sqlite3_finalize() will pass on any error message set by sqlite3_step(), we can greatly simplify SQLite C API usage and error handling in sqlite3.Cursor.executescript(), thus reducing the number of times we save/restore thread state, and also simplifying error handling greatly.
We can also "inline" the commit before the main loop using the SQLite API directly, instead of calling self.commit()
Diffstat for the proposed patch:
1 file changed, 25 insertions(+), 42 deletions(-) |
|
Date |
User |
Action |
Args |
2021-08-28 21:42:20 | erlendaasland | set | recipients:
+ erlendaasland |
2021-08-28 21:42:20 | erlendaasland | set | messageid: <1630186940.75.0.867509999699.issue45041@roundup.psfhosted.org> |
2021-08-28 21:42:20 | erlendaasland | link | issue45041 messages |
2021-08-28 21:42:20 | erlendaasland | create | |
|