mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Merge the latest trunk enhancements into the wal2 branch.
FossilOrigin-Name: c68d0d353082a5810a48f01637d642bcdfd9f03dd244e0618fc0d7cf5f7b9b12
This commit is contained in:
@@ -1133,10 +1133,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 {
|
||||
|
Reference in New Issue
Block a user