[sqlite] Maybe a bug

2017-03-15 Thread zmmffff
Running "testfixture.exe veryquick.test --verbose=file --output=test-out.txt" compiled with ICU support gives : Time: fts3ao.test 320 ms fts3atoken-3.3... Error: error in xOpen() .\testfixture.exe: error in xOpen() while executing "ifcapable icu { proc do_icu_test {name locale

[sqlite] Maybe A Bug in [fcntlSizeHint] function of SQLite?

2016-06-08 Thread sanhua.zh
In the source code of [fcntlSizeHint] in SQLite 3.9.2, Its comment said that "If the database is already nBytes or larger, this routine is a no-op.”. But if SQLITE_MAX_MMAP_SIZE0, there is no judgement about file size. #if SQLITE_MAX_MMAP_SIZE0 if( pFile-mmapSizeMax0 nBytepFile-mmapSize ){