diff options
author | danielk1977 <danielk1977@noemail.net> | 2007-03-27 16:19:51 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2007-03-27 16:19:51 +0000 |
commit | 979f38e5ee852e318ddc3eeddd542f4bf2c290fe (patch) | |
tree | e5f2820343d69a57b9bcf2a2d9b2bc324ff15a07 /src/os_unix.c | |
parent | 8ef6eff4a59cfbe04167fb6b85be4edae7741626 (diff) | |
download | sqlite-979f38e5ee852e318ddc3eeddd542f4bf2c290fe.tar.gz sqlite-979f38e5ee852e318ddc3eeddd542f4bf2c290fe.zip |
Test handling of IO errors that occur in OsDelete() or OsTruncate() operations. Also use an anonymous file for temporary storage during a VACUUM. (CVS 3729)
FossilOrigin-Name: b24a6e7b024c8b9a0b6fd15bd8f247e458781ca2
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 1 |
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; } |