mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Remove some unused legacy code from the btree insert logic.
FossilOrigin-Name: 2ce1166717ac3c0cec37b2f6d70d8359fbaefc71
This commit is contained in:
@@ -6111,7 +6111,6 @@ static int fillInCell(
|
||||
if( pPage->intKey ){
|
||||
pSrc = pData;
|
||||
nSrc = nData;
|
||||
nData = 0;
|
||||
}else{
|
||||
assert( nKey<=0x7fffffff && pKey!=0 );
|
||||
nPayload = (int)nKey;
|
||||
@@ -6240,10 +6239,6 @@ static int fillInCell(
|
||||
pSrc += n;
|
||||
nSrc -= n;
|
||||
spaceLeft -= n;
|
||||
if( nSrc==0 ){
|
||||
nSrc = nData;
|
||||
pSrc = pData;
|
||||
}
|
||||
}
|
||||
releasePage(pToRelease);
|
||||
return SQLITE_OK;
|
||||
|
Reference in New Issue
Block a user