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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user