aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index ba072f6d8..be3a30a97 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -783,6 +783,7 @@ static int transferOwnership(unixFile *pFile){
** Delete the named file
*/
int sqlite3UnixDelete(const char *zFilename){
+ SimulateIOError(return SQLITE_IOERR_DELETE);
unlink(zFilename);
return SQLITE_OK;
}