Tests and minor fixes to improve coverage of FTS5 code.

FossilOrigin-Name: f4de6d450e143cb1dd5447800d4b178e3db114c8
This commit is contained in:
dan
2015-10-14 21:08:48 +00:00
parent cdabd7bd50
commit 5f93ccd7fc
11 changed files with 224 additions and 37 deletions
+4 -1
View File
@@ -447,7 +447,10 @@ static int fts5CreateMethod(
*/
static void fts5SetUniqueFlag(sqlite3_index_info *pIdxInfo){
#if SQLITE_VERSION_NUMBER>=3008012
if( sqlite3_libversion_number()>=3008012 ){
#ifndef SQLITE_CORE
if( sqlite3_libversion_number()>=3008012 )
#endif
{
pIdxInfo->idxFlags |= SQLITE_INDEX_SCAN_UNIQUE;
}
#endif