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

The EOVERFLOW errors from fstat() is not possible unless SQLite has been

compiled with SQLITE_DISABLE_LFS.

FossilOrigin-Name: 8cfb7a50bb70ba1e021c1d12d31563e98a20d291
This commit is contained in:
drh
2015-11-30 20:36:26 +00:00
parent f8b0be48d1
commit 40fe8d31f5
3 changed files with 8 additions and 8 deletions

View File

@@ -1229,7 +1229,7 @@ static int findInodeInfo(
rc = osFstat(fd, &statbuf);
if( rc!=0 ){
storeLastErrno(pFile, errno);
#ifdef EOVERFLOW
#if defined(EOVERFLOW) && defined(SQLITE_DISABLE_LFS)
if( pFile->lastErrno==EOVERFLOW ) return SQLITE_NOLFS;
#endif
return SQLITE_IOERR;