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:
@ -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;
|
||||
|
Reference in New Issue
Block a user