mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix a problem in rbu vacuum on tables with a large sqlite_master table.
FossilOrigin-Name: 23eac52e987996afe8db847921aef434cebd25b5
This commit is contained in:
@ -3952,9 +3952,9 @@ static int rbuVfsRead(
|
||||
rbuPutU32(&aBuf[24], pRbu->pRbuFd->iCookie+1); /* Change counter */
|
||||
|
||||
if( iAmt>100 ){
|
||||
assert( iAmt>=101 );
|
||||
memset(&aBuf[101], 0, iAmt-101);
|
||||
memset(&aBuf[100], 0, iAmt-100);
|
||||
rbuPutU16(&aBuf[105], iAmt & 0xFFFF);
|
||||
aBuf[100] = 0x0D;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user