diff options
author | drh <drh@noemail.net> | 2020-11-18 21:50:05 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-11-18 21:50:05 +0000 |
commit | f56a4bfcd12cb7990ef171ffb89d2a27cd03ed4e (patch) | |
tree | 32971050ece8f7cd4bc8705fefc56406b47bc983 /src/os_unix.c | |
parent | 5a07d10fd15408218a6324bea6ff9ec080a73218 (diff) | |
download | sqlite-f56a4bfcd12cb7990ef171ffb89d2a27cd03ed4e.tar.gz sqlite-f56a4bfcd12cb7990ef171ffb89d2a27cd03ed4e.zip |
Improvements to the mechanism that attempts to report SQLITE_CORRUPT if
pread() says that the underlying filesystem is corrupt.
FossilOrigin-Name: b887c7504e7edeba758f3c1203c6cc56eef499fe05e7e6c6d82939bf7d78c57f
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index b1e017376..18f2b5461 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3384,7 +3384,6 @@ static int unixRead( */ switch( pFile->lastErrno ){ case ERANGE: - case ENOENT: case EIO: #ifdef ENXIO case ENXIO: |