mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-15 11:41:13 +03:00
Remove the BenignMalloc() from around the call to FCNTL_OVERWRITE. Add
new ones around sqlite3OsDelete(). Fix an assert that causes problems for the nx-devkit. FossilOrigin-Name: 38bc4236d5a9d9f22a525bf9308d90cd4d9ce5a4
This commit is contained in:
@@ -2428,7 +2428,9 @@ static void winShmPurge(sqlite3_vfs *pVfs, int deleteFlag){
|
||||
}
|
||||
if( deleteFlag ){
|
||||
SimulateIOErrorBenign(1);
|
||||
sqlite3BeginBenignMalloc();
|
||||
winDelete(pVfs, p->zFilename, 0);
|
||||
sqlite3EndBenignMalloc();
|
||||
SimulateIOErrorBenign(0);
|
||||
}
|
||||
*pp = p->pNext;
|
||||
|
||||
Reference in New Issue
Block a user