1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Add NEVER on an unreachable branch.

FossilOrigin-Name: 9b3febbd988be05807ada20146d3e196ae17c966722fff049feb32292157bff2
This commit is contained in:
drh
2023-04-07 16:30:33 +00:00
parent 81e31c9c2b
commit 3da5e2a9f3
3 changed files with 8 additions and 8 deletions

View File

@@ -7150,7 +7150,7 @@ static int insertCell(
assert( j==0 || i==pPage->aiOvfl[j-1]+1 ); /* Overflows are sequential */
}else{
int rc = sqlite3PagerWrite(pPage->pDbPage);
if( rc!=SQLITE_OK ){
if( NEVER(rc!=SQLITE_OK) ){
return rc;
}
assert( sqlite3PagerIswriteable(pPage->pDbPage) );