1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Interchange two conditions in an "if" statment in sqlite3PagerAcquire() for

very slight (0.06%) overall performance increase.

FossilOrigin-Name: fbcc1a3ebb016225c3580181c908a2904cc184a5
This commit is contained in:
drh
2013-12-08 19:54:52 +00:00
parent 9dcc7cd527
commit 1e98310a14
3 changed files with 8 additions and 8 deletions

View File

@@ -5292,7 +5292,7 @@ int sqlite3PagerAcquire(
if( rc!=SQLITE_OK ) goto pager_acquire_err;
}
if( iFrame==0 && bMmapOk ){
if( bMmapOk && iFrame==0 ){
void *pData = 0;
rc = sqlite3OsFetch(pPager->fd,