1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Fix a faulty assert() in the os_win.c VFS.

FossilOrigin-Name: fd6ee54969322203c02ce9bd8744e095faf6a69c
This commit is contained in:
drh
2013-04-02 14:37:40 +00:00
parent 4ff7bc45c6
commit 07fa864d15
3 changed files with 9 additions and 9 deletions

View File

@@ -3601,7 +3601,7 @@ static int winMapfile(winFile *pFd, sqlite3_int64 nByte){
/* Log the error, but continue normal operation using xRead/xWrite */
return SQLITE_OK;
}
assert( (nNewRnd % winSysInfo.dwPageSize)==0 );
assert( (nMap % winSysInfo.dwPageSize)==0 );
#if SQLITE_OS_WINRT
pNew = osMapViewOfFileFromApp(pFd->hMap, flags, 0, nMap);
#else