1
0
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:
drh
2009-11-23 15:59:27 +00:00
parent f6963f99dd
commit 1ac399e8eb
3 changed files with 19 additions and 9 deletions

View File

@@ -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;