diff options
author | drh <> | 2023-09-17 16:36:22 +0000 |
---|---|---|
committer | drh <> | 2023-09-17 16:36:22 +0000 |
commit | 38119058aa90f542cf9cd6429380096a8a3f62f9 (patch) | |
tree | 7349ad5d9ac318274929b39620a80b3463656e06 /src/btree.c | |
parent | f99a27fab927a8c8fc8dc3c7d179654fa2b12fcd (diff) | |
download | sqlite-38119058aa90f542cf9cd6429380096a8a3f62f9.tar.gz sqlite-38119058aa90f542cf9cd6429380096a8a3f62f9.zip |
Remove a NEVER() in btree.c that could actually be reached, with the approriate
database corruption.
FossilOrigin-Name: d1fd00e0875f881cacdc581a75215ec1872a81969ac07b8ebe3aaa707a9a3640
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree.c b/src/btree.c index c23f86e1d..fa5c47d13 100644 --- a/src/btree.c +++ b/src/btree.c @@ -7495,7 +7495,7 @@ static int rebuildPage( assert( i<iEnd ); j = get2byte(&aData[hdr+5]); - if( NEVER(j>(u32)usableSize) ){ j = 0; } + if( j>(u32)usableSize ){ j = 0; } memcpy(&pTmp[j], &aData[j], usableSize - j); for(k=0; ALWAYS(k<NB*2) && pCArray->ixNx[k]<=i; k++){} |