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

Changes to improve performance and support LIMIT clauses on fts3 tables. This branch is unstable for now.

FossilOrigin-Name: 28149a7882a1e9dfe4a75ec5b91d176ebe6284e9
This commit is contained in:
dan
2011-06-02 19:57:24 +00:00
parent 382874fc5c
commit e414854800
11 changed files with 1274 additions and 281 deletions

View File

@ -768,7 +768,10 @@ void sqlite3Fts3ExprFree(Fts3Expr *p){
assert( p->eType==FTSQUERY_PHRASE || p->pPhrase==0 );
sqlite3Fts3ExprFree(p->pLeft);
sqlite3Fts3ExprFree(p->pRight);
if( p->pPhrase ) sqlite3_free(p->pPhrase->aDoclist);
if( p->pPhrase ){
sqlite3Fts3EvalPhraseCleanup(p->pPhrase);
sqlite3_free(p->pPhrase->aDoclist);
}
sqlite3_free(p);
}
}