summaryrefslogtreecommitdiff
path: root/src/backup.c
AgeCommit message (Expand)AuthorLines
4 daysImprovements to sqlite3_backup so that it does not corrupt the destinationdrh-0/+5
2026-06-29Add new assert()s to help static analyzers realize that the code is correct.drh-1/+3
2026-06-25Fix a harmless false-positive compiler warning on Windows.drh-1/+1
2026-06-24Revert the fixes to backup in [1f940357f7] and [e5db80350c] and instead fix t...dan-93/+96
2026-06-23Merge the fixes for the use-after-free problem caused by executing an ATTACH ...dan-46/+58
2026-06-23Fix sqlite3_backup_init() to correctly handle the case where opening the temp...dan-1/+1
2026-06-23Avoid a use-after-free problem that could occur if ATTACH statements are exec...dan-45/+57
2026-05-01Fix an SQLITE_MISUSE memory error in check-ini [1f940357f7bb160b].drh-2/+6
2026-04-29Fix a crash that could occur if the destination database of a backup isdan-54/+62
2023-04-19Fix a segfault that could occur if a non-empty in-memory database was the des...dan-8/+5
2022-01-31Fix an obscure problem in sqlite3_backup_init() caused bydrh-1/+1
2022-01-24Make it so that any Parse object is always linked into the database conenctiondrh-3/+2
2020-08-25Add support for the sqlite3_txn_state() interface.drh-4/+4
2020-05-07Fix the handling of reserve-bytes so that the maximum value of 255 can be used.drh-1/+1
2020-02-07Simplify the code by removing the unsupported and undocumented drh-31/+0
2019-07-16Add new assert() statements in an attempt to help static analyzers avoiddrh-0/+2
2019-05-04Fix harmless compiler warning seen with MSVC.mistachkin-1/+1
2018-06-06Change sqlite3BtreeBeginTrans() to return the BTREE_SCHEMA_COOKIE, for adrh-3/+3
2016-10-03Allocate Parse objects off of the stack where appropriate for a substantialdrh-14/+8
2016-09-02Correctly detect an OOM occurring in the setDestPgsz() subroutine ofdrh-1/+3
2016-09-02Within a backup operation, ensure that a read-transaction is opened on the so...dan-9/+16
2016-08-05Undo commit [f250166bb]. It is required to handle IO and other errors that oc...dan-2/+4
2016-05-20Remove the sqlite3PagerClearCache() routine, which does not accomplish anythingdrh-2/+0
2016-02-13Enhance ability to debug out-of-memory errors.mistachkin-3/+3
2015-11-04Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The formerdrh-5/+4
2015-09-23Take care that the number of reserved bits per page is consistent between drh-0/+4
2015-07-01Avoid create a stack from in sqlite3BackupUpdate() in the common case wheredrh-4/+11
2015-02-21Keep track of the optimal number of reserved bytes (by looking at reservedrh-1/+1
2014-11-13Have calls to sqlite3_backup_init() fail if there is already a read or read-w...dan-5/+22
2014-11-11Experimental changes that permit read operations to continue after adrh-1/+1
2014-10-24Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work indrh-0/+22
2014-08-22Split the sqlite3Error() routine into sqlite3Error() anddrh-6/+6
2013-12-13Simplication and optimization of error message handling.drh-3/+3
2013-12-09Modify the way some internal file-controls are invoked. In order to support m...dan-1/+1
2013-11-15Rework the logic that factors constant expressions out of inner loops, makingdrh-0/+1
2013-08-21Simplify the btreeGetPage() routine so that it uses a single flag parameterdrh-1/+1
2013-06-13Make the MIN() and MAX() macros available in sqliteInt.h. Add TUNINGdrh-6/+0
2013-04-03Make use of xFetch, if it is available when doing a VACUUM or a backup.drh-1/+2
2013-03-23Replace the sqlite3_io_methods.xMremap interface with sqlite3_io_methods.xFet...dan-1/+1
2013-03-22Fix a case where the mapped part of a database file may be written during a b...dan-1/+1
2013-02-25Catch a dropped error code in backup.c.dan-1/+3
2013-02-23If a rollback mode transaction reduces the size of the database file, avoid a...dan-2/+15
2012-12-21Ensure the database size field in the db header of a backup database is set c...dan-3/+11
2012-10-13Ensure that when the source of a backup is a database that is zero bytes in s...dan-2/+10
2012-09-28Avoid calling sqlite3BtreeEnter() in a corner case where the corresponding da...dan-2/+5
2012-07-30Replace a few sqlite3_malloc()+memset() sequences with calls to sqlite3Malloc...dan-2/+1
2012-06-21Add the sqlite3_close_v2() interface (from the deferred-close branch) thatdrh-5/+5
2012-06-02The sqlite3_close() interface returns SQLITE_OK even if there are outstandingdrh-4/+3
2012-05-15The former sqlite3ResetInternalSchema() routine was really two different drh-1/+1
2012-02-13Change the ROLLBACK command so that pending statements to not block it. Thedrh-1/+1