◐ Shell
clean mode source ↗

bpo-27645: Supporting native backup facility of SQLite by lelit · Pull Request #377 · python/cpython

added 5 commits

March 1, 2017 10:16
Suggested by Aviv Palivoda.

berkerpeksag

palaviv

Suggested by Aviv Palivoda.
When sqlite3_backup_step() returns OK it means that it was able to do it's work but there are
further pages to be copied: in such case it's better to immediately start the next iteration,
without opening a window that allows other threads to go on and possibly locking the database.

Suggested by Aviv Palivoda.

berkerpeksag

palaviv

…llback

Add new SQLITE_DONE integer constant to the module, that could be used by the callback to
determine whether the backup is terminated.
This should address Aviv's concerns about how the sqlite3_backup_step() errors are handled.

dgilman

@brettcannon brettcannon changed the title bpo-27645: Supporting native backup facility of SQLite bpo-27645: Supporting native backup facility of SQLite.

Nov 2, 2017

@brettcannon brettcannon changed the title bpo-27645: Supporting native backup facility of SQLite. bpo-27645: Supporting native backup facility of SQLite

Nov 2, 2017

@lelit lelit mentioned this pull request

Nov 2, 2017