mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Simplify the way in which the database file is truncated when the last
connection disconnects. Also ignore the error code from the xTruncate call - as truncating a database file is always optional. FossilOrigin-Name: b0a49d90fc91acca1306cf6145adc83acd368686768b7eb4a3b27515b3237396
This commit is contained in:
@ -589,7 +589,7 @@ struct Snapshot {
|
||||
/*
|
||||
** Functions from file "lsm_ckpt.c".
|
||||
*/
|
||||
int lsmCheckpointWrite(lsm_db *, int, u32 *);
|
||||
int lsmCheckpointWrite(lsm_db *, u32 *);
|
||||
int lsmCheckpointLevels(lsm_db *, int, void **, int *);
|
||||
int lsmCheckpointLoadLevels(lsm_db *pDb, void *pVal, int nVal);
|
||||
|
||||
|
Reference in New Issue
Block a user