Module Name: src Committed By: abhinav Date: Mon Jul 4 03:04:25 UTC 2016
Modified Files: src/external/public-domain/sqlite/dist: sqlite3.c Log Message: Use constant. This change was lost while resolving merge conflict as the lines had moved around too much. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/public-domain/sqlite/dist/sqlite3.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/public-domain/sqlite/dist/sqlite3.c diff -u src/external/public-domain/sqlite/dist/sqlite3.c:1.13 src/external/public-domain/sqlite/dist/sqlite3.c:1.14 --- src/external/public-domain/sqlite/dist/sqlite3.c:1.13 Sun Jul 3 10:23:30 2016 +++ src/external/public-domain/sqlite/dist/sqlite3.c Mon Jul 4 03:04:25 2016 @@ -142475,7 +142475,7 @@ static int fts3BestIndexMethod(sqlite3_v ** function MATCH in the requested context" error. To discourage ** this, return a very high cost here. */ pInfo->idxNum = FTS3_FULLSCAN_SEARCH; - pInfo->estimatedCost = 1e50; + pInfo->estimatedCost = SQLITE_HUGE_COST; fts3SetEstimatedRows(pInfo, ((sqlite3_int64)1) << 50); return SQLITE_OK; } @@ -190961,7 +190961,7 @@ static int fts5BestIndexMethod(sqlite3_v }else if( j==0 ){ /* As there exists an unusable MATCH constraint this is an ** unusable plan. Set a prohibitively high cost. */ - pInfo->estimatedCost = 1e50; + pInfo->estimatedCost = SQLITE_HUGE_COST; return SQLITE_OK; } }