1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Merge all the latest trunk enhancements into the bedrock branch.

FossilOrigin-Name: 3215186aa92041498032a0cb9559a3b9eafd0bb586084e3506bb0c030b039aa5
This commit is contained in:
drh
2025-04-21 13:02:25 +00:00
258 changed files with 6702 additions and 9974 deletions

View File

@@ -1163,10 +1163,8 @@ static void walChecksumBytes(
s1 = s2 = 0;
}
assert( nByte>=8 );
assert( (nByte&0x00000007)==0 );
assert( nByte<=65536 );
assert( nByte%4==0 );
/* nByte is a multiple of 8 between 8 and 65536 */
assert( nByte>=8 && (nByte&7)==0 && nByte<=65536 );
if( !nativeCksum ){
do {