1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

In the async VFS, treat the new error code SQLITE_IOERR_DELETE_NOENT as success for xDelete.

FossilOrigin-Name: c507ca4a8eb255923ff32001a1903dc85960f485
This commit is contained in:
mistachkin
2012-12-06 23:16:58 +00:00
parent fd4d47053d
commit 46af59e96c
3 changed files with 9 additions and 8 deletions

View File

@ -1510,6 +1510,7 @@ static void asyncWriterThread(void){
case ASYNC_DELETE:
ASYNC_TRACE(("DELETE %s\n", p->zBuf));
rc = pVfs->xDelete(pVfs, p->zBuf, (int)p->iOffset);
if( rc==SQLITE_IOERR_DELETE_NOENT ) rc = SQLITE_OK;
break;
case ASYNC_OPENEXCLUSIVE: {