bpo-44042: Optimize sqlite3 begin transaction (GH-25908)

3 files changed