1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Restrict the scope of the fts3ExprCost() subroutine inside of FTS3.

FossilOrigin-Name: 76681870a4705179f78976e7fda638a6fea0b9f9
This commit is contained in:
drh
2010-11-18 13:52:34 +00:00
parent 437261d077
commit 3b691b5466
3 changed files with 11 additions and 11 deletions

View File

@ -2520,7 +2520,7 @@ static void fts3ExprFreeSegReaders(Fts3Expr *pExpr){
** function must be called after Fts3SegReaderArrays have been allocated
** for all tokens using fts3ExprAllocateSegReaders().
*/
int fts3ExprCost(Fts3Expr *pExpr){
static int fts3ExprCost(Fts3Expr *pExpr){
int nCost; /* Return value */
if( pExpr->eType==FTSQUERY_PHRASE ){
Fts3Phrase *pPhrase = pExpr->pPhrase;