diff options
author | drh <drh@noemail.net> | 2004-10-01 14:38:02 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2004-10-01 14:38:02 +0000 |
commit | 047d4836ffc11b3b92848a3653625b1c53bf1fdd (patch) | |
tree | 43574f5b71bdc078f3f8467a3259f38fba7f32a0 /src/os_unix.c | |
parent | ededaa59bdc409b7ca5895cae3b8314efb084ebb (diff) | |
download | sqlite-047d4836ffc11b3b92848a3653625b1c53bf1fdd.tar.gz sqlite-047d4836ffc11b3b92848a3653625b1c53bf1fdd.zip |
Additional code to test the SQLITE_FULL return when the disk is full. (CVS 1994)
FossilOrigin-Name: 44e56f0bba61245d342d6e75510d6c35785efd49
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 c0261e1c7..a5be702f2 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -646,6 +646,7 @@ int sqlite3OsWrite(OsFile *id, const void *pBuf, int amt){ int wrote = 0; assert( id->isOpen ); SimulateIOError(SQLITE_IOERR); + SimulateDiskfullError; TIMER_START; while( amt>0 && (wrote = write(id->h, pBuf, amt))>0 ){ amt -= wrote; |