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;

View File

@ -1,8 +1,8 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
C Fix\scompiler\swarnings.
D 2010-11-18T13:47:51
C Restrict\sthe\sscope\sof\sthe\sfts3ExprCost()\ssubroutine\sinside\sof\sFTS3.
D 2010-11-18T13:52:34
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in e7a59672eaeb04408d1fa8501618d7501a3c5e39
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@ -64,7 +64,7 @@ F ext/fts2/mkfts2amal.tcl 974d5d438cb3f7c4a652639262f82418c1e4cff0
F ext/fts3/README.syntax a19711dc5458c20734b8e485e75fb1981ec2427a
F ext/fts3/README.tokenizers 998756696647400de63d5ba60e9655036cb966e9
F ext/fts3/README.txt 8c18f41574404623b76917b9da66fcb0ab38328d
F ext/fts3/fts3.c 98e6f7c094060b47c5660e8779d883219da10e5d
F ext/fts3/fts3.c 7e01fd82fa289decbc21bcebb924d44d307eb757
F ext/fts3/fts3.h 3a10a0af180d502cecc50df77b1b22df142817fe
F ext/fts3/fts3Int.h bbcd6d671228c9ae2ed5514723fcc6217821d0a6
F ext/fts3/fts3_expr.c ee48b9278b8b2432a05a03320fbcacba151dbaa5
@ -889,14 +889,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
P 501b743bcb60cda0acf63bcf8a4abbf00797b347
R eaffc000adc323845124c605d8131353
P 6c4f1d5c24522d1f541a2b96b229ad0374f99c19
R ac913fc20e1e02fd0b006b5e555bc903
U drh
Z 129e4da2047508451bbae193888369af
Z b87890169f2f3c0ac5b674e9aa2c08bf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFM5S6KoxKgR168RlERAlxMAKCCj1He0nir70Dh29Hs1JaoNodGdQCggzyL
124Zyx5njb0rKyAwAZS9FWs=
=7jLu
iD8DBQFM5S+loxKgR168RlERAq0hAJ4uVME2ihBNvqhgUgbGV8emWfA7cwCfTZeO
DPJoe01N82TXmbetUlKsCvM=
=x8Xm
-----END PGP SIGNATURE-----

View File

@ -1 +1 @@
6c4f1d5c24522d1f541a2b96b229ad0374f99c19
76681870a4705179f78976e7fda638a6fea0b9f9