mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Rearrange the order of two branches in order to restore 100% branch coverage
after recent changes to in-memory database processing. FossilOrigin-Name: 6ce6ff4402241d5c76acd0c60c85097dfcd7fd7c
This commit is contained in:
@@ -3838,7 +3838,7 @@ int sqlite3PagerAcquire(
|
||||
goto pager_acquire_err;
|
||||
}
|
||||
|
||||
if( nMax<(int)pgno || MEMDB || noContent ){
|
||||
if( MEMDB || nMax<(int)pgno || noContent ){
|
||||
if( pgno>pPager->mxPgno ){
|
||||
rc = SQLITE_FULL;
|
||||
goto pager_acquire_err;
|
||||
|
Reference in New Issue
Block a user