bpo-27645: Supporting native backup facility of SQLite by lelit · Pull Request #377 · python/cpython
added 5 commits
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.
…llback Add new SQLITE_DONE integer constant to the module, that could be used by the callback to determine whether the backup is terminated.
brettcannon
changed the title
bpo-27645: Supporting native backup facility of SQLite
bpo-27645: Supporting native backup facility of SQLite.
brettcannon
changed the title
bpo-27645: Supporting native backup facility of SQLite.
bpo-27645: Supporting native backup facility of SQLite
lelit
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters