mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Fix an LSM crash that could occur if LSM_CONFIG_AUTOFLUSH was set to 0.
FossilOrigin-Name: 05346f83d587e6049da0e8ec5f62c749daa9e80359cf48f8c37e333e6a1e7d2a
This commit is contained in:
@ -683,7 +683,7 @@ static int doWriteOp(
|
||||
int nDiff;
|
||||
|
||||
if( nQuant>pDb->nTreeLimit ){
|
||||
nQuant = pDb->nTreeLimit;
|
||||
nQuant = LSM_MAX(pDb->nTreeLimit, pgsz);
|
||||
}
|
||||
|
||||
nBefore = lsmTreeSize(pDb);
|
||||
|
Reference in New Issue
Block a user