1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Improvements to the mechanism that attempts to report SQLITE_CORRUPT if

pread() says that the underlying filesystem is corrupt.

FossilOrigin-Name: b887c7504e7edeba758f3c1203c6cc56eef499fe05e7e6c6d82939bf7d78c57f
This commit is contained in:
drh
2020-11-18 21:50:05 +00:00
parent 5a07d10fd1
commit f56a4bfcd1
5 changed files with 14 additions and 17 deletions

View File

@@ -3384,7 +3384,6 @@ static int unixRead(
*/
switch( pFile->lastErrno ){
case ERANGE:
case ENOENT:
case EIO:
#ifdef ENXIO
case ENXIO: