1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Back out a couple of ALWAYS() macros from [4fab9089868bbb05]. Test case

added to TH3.

FossilOrigin-Name: d26963a530ccbe36a174823d2f0bd7e06c6fca4f38ecdd04cd700c4000cc3719
This commit is contained in:
drh
2021-09-16 13:52:28 +00:00
parent e73e957c1e
commit 86b262ecfa
3 changed files with 9 additions and 9 deletions

View File

@ -2742,14 +2742,14 @@ static int removeNode(Rtree *pRtree, RtreeNode *pNode, int iHeight){
/* Remove the entry in the parent cell. */
rc = nodeParentIndex(pRtree, pNode, &iCell);
if( ALWAYS(rc==SQLITE_OK) ){
if( rc==SQLITE_OK ){
pParent = pNode->pParent;
pNode->pParent = 0;
rc = deleteCell(pRtree, pParent, iCell, iHeight+1);
assert( rc==SQLITE_OK );
}
rc2 = nodeRelease(pRtree, pParent);
if( ALWAYS(rc==SQLITE_OK) ){
if( rc==SQLITE_OK ){
rc = rc2;
}
if( rc!=SQLITE_OK ){