1
0
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:
drh
2016-05-21 19:10:21 +00:00
parent 09a4e92c6d
commit 16e2b9694a
3 changed files with 7 additions and 12 deletions

View File

@@ -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;