From 3b691b546634e5a4f98e7b38cb067bc9fd999a79 Mon Sep 17 00:00:00 2001 From: drh Date: Thu, 18 Nov 2010 13:52:34 +0000 Subject: [PATCH] Restrict the scope of the fts3ExprCost() subroutine inside of FTS3. FossilOrigin-Name: 76681870a4705179f78976e7fda638a6fea0b9f9 --- ext/fts3/fts3.c | 2 +- manifest | 18 +++++++++--------- manifest.uuid | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ext/fts3/fts3.c b/ext/fts3/fts3.c index a211a11dbb..5618934695 100644 --- a/ext/fts3/fts3.c +++ b/ext/fts3/fts3.c @@ -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; diff --git a/manifest b/manifest index d630d853a8..52d72cf809 100644 --- a/manifest +++ b/manifest @@ -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----- diff --git a/manifest.uuid b/manifest.uuid index 80424a5c7e..3daa67bb60 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -6c4f1d5c24522d1f541a2b96b229ad0374f99c19 \ No newline at end of file +76681870a4705179f78976e7fda638a6fea0b9f9 \ No newline at end of file -- 2.47.2