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

@@ -1,5 +1,5 @@
C Fix\sthe\sthreadtest3\stest\sprogram\sso\sthat\sit\sworks\swith\sVFSes\sthat\somit\sthe\nxCurrentTime()\smethod\sand\ssupply\sonly\sxCurrentTimeInt64().
D 2015-11-30T19:15:25.436
C The\sEOVERFLOW\serrors\sfrom\sfstat()\sis\snot\spossible\sunless\sSQLite\shas\sbeen\ncompiled\swith\sSQLITE_DISABLE_LFS.
D 2015-11-30T20:36:26.173
F Makefile.in d828db6afa6c1fa060d01e33e4674408df1942a1
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc e928e68168df69b353300ac87c10105206653a03
@@ -323,7 +323,7 @@ F src/os.c 8fd25588eeba74068d41102d26810e216999b6c8
F src/os.h 3e57a24e2794a94d3cf2342c6d9a884888cd96bf
F src/os_common.h abdb9a191a367793268fe553d25bab894e986a0e
F src/os_setup.h c9d4553b5aaa6f73391448b265b89bed0b890faa
F src/os_unix.c d4ca37d4fa3d65d2d553751f147e61276f5e06bf
F src/os_unix.c 641b7da6960b5bfa2120a97464578da436f4876c
F src/os_win.c 386fba30419e8458b13209781c2af5590eab2811
F src/os_win.h eb7a47aa17b26b77eb97e4823f20a00b8bda12ca
F src/pager.c f92aacd5216d8815136c9e0190041783c602641a
@@ -1406,7 +1406,7 @@ F tool/vdbe_profile.tcl 246d0da094856d72d2c12efec03250d71639d19f
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh 48bd54594752d5be3337f12c72f28d2080cb630b
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
P 47f10b7e5d8c1d965df891990090623444933cc9
R 585e8fe5d4364350ebf759c316009b08
P 3b155855f3d5918f1df7dbd19783215b3da0ca3e
R 8c60b47a7d3bee2b87d7070795b628ee
U drh
Z a830d371ea8bc3ea09f7879f209590a2
Z 055a22d7d501db707cd4b91440df8d3a

View File

@@ -1 +1 @@
3b155855f3d5918f1df7dbd19783215b3da0ca3e
8cfb7a50bb70ba1e021c1d12d31563e98a20d291

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;