aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2024-02-07 19:17:44 +0000
committerdrh <>2024-02-07 19:17:44 +0000
commit204b41955ee3d3784dc4ee12f09085a2fd6af80d (patch)
treee57d2bd9aa4b8fdd6b44599970eb21745e2595ab /src
parent71cdea8f5f0551e1a77a11705ad65ce4b583db2c (diff)
downloadsqlite-204b41955ee3d3784dc4ee12f09085a2fd6af80d.tar.gz
sqlite-204b41955ee3d3784dc4ee12f09085a2fd6af80d.zip
Turns out the branch is reachable, so back out the NEVER().
FossilOrigin-Name: 0af36a3223d2dabda887830390a603ab4781baca7e2f1698ec6c5f2cf03faf04
Diffstat (limited to 'src')
-rw-r--r--src/vdbesort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdbesort.c b/src/vdbesort.c
index 324c7c43e..008369030 100644
--- a/src/vdbesort.c
+++ b/src/vdbesort.c
@@ -1290,7 +1290,7 @@ static void vdbeSorterExtendFile(sqlite3 *db, sqlite3_file *pFd, i64 nByte){
sqlite3OsFileControlHint(pFd, SQLITE_FCNTL_CHUNK_SIZE, &chunksize);
sqlite3OsFileControlHint(pFd, SQLITE_FCNTL_SIZE_HINT, &nByte);
sqlite3OsFetch(pFd, 0, (int)nByte, &p);
- if( NEVER(p) ) sqlite3OsUnfetch(pFd, 0, p);
+ if( p ) sqlite3OsUnfetch(pFd, 0, p);
}
}
#else