]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Restrict the scope of the fts3ExprCost() subroutine inside of FTS3.
authordrh <drh@noemail.net>
Thu, 18 Nov 2010 13:52:34 +0000 (13:52 +0000)
committerdrh <drh@noemail.net>
Thu, 18 Nov 2010 13:52:34 +0000 (13:52 +0000)
FossilOrigin-Name: 76681870a4705179f78976e7fda638a6fea0b9f9

ext/fts3/fts3.c
manifest
manifest.uuid

index a211a11dbb22e63d4625027c2c653e02ba65ddb2..5618934695fe6034fd9bc1a6eed3fae311384882 100644 (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;
index d630d853a88e782bdcd437e359ff05c44b8ca901..52d72cf809e38bde14148bd4d5ef161c703921a2 100644 (file)
--- 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-----
index 80424a5c7e4ba954b5b555d775e46ec90b53bf91..3daa67bb60389d50fbf7131bf39f81662fee70e9 100644 (file)
@@ -1 +1 @@
-6c4f1d5c24522d1f541a2b96b229ad0374f99c19
\ No newline at end of file
+76681870a4705179f78976e7fda638a6fea0b9f9
\ No newline at end of file