Restrict the scope of a local-use function in the parser.

FossilOrigin-Name: cd6598f47480a6189df3e4283231833fd246d7fb
This commit is contained in:
drh 2015-04-16 23:04:17 +00:00
parent a33b68364b
commit e318a7f84c
3 changed files with 8 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C Use\sa\sheap\srather\sthan\sa\sbitmap\sfor\scell\scoverage\sand\soverlap\stesting\son\nbtree\spages\sin\sPRAGMA\sintegrity_check.
D 2015-04-16T21:57:37.861
C Restrict\sthe\sscope\sof\sa\slocal-use\sfunction\sin\sthe\sparser.
D 2015-04-16T23:04:17.948
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in 5f78b1ab81b64e7c57a75d170832443e66c0880a
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@ -219,7 +219,7 @@ F src/os_win.c 03d27be3a20048ef52a648d5f0a15f5edda9f2a3
F src/os_win.h eb7a47aa17b26b77eb97e4823f20a00b8bda12ca
F src/pager.c 4120a49ecd37697e28f5ed807f470b9c0b88410c
F src/pager.h c3476e7c89cdf1c6914e50a11f3714e30b4e0a77
F src/parse.y 5944031bd7660589a7bb340cef5e134b55f01ec0
F src/parse.y c4e0387bc88c8e21e5ba653e2578959a1f3cdbc7
F src/pcache.c 10539fb959849ad6efff80050541cab3d25089d4
F src/pcache.h b44658c9c932d203510279439d891a2a83e12ba8
F src/pcache1.c 69d137620a305f814398bd29a0c998038c0695e9
@ -1250,8 +1250,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
P 8f391dffcfe068d48f854784648610d8a86f6bc8 5619c959bf7babb19fd8ba8b228be7f090fe0ce3
R 72a6fa603587f85ee318933146285087
T +closed 5619c959bf7babb19fd8ba8b228be7f090fe0ce3
P e94b2ef2242d716379a35dba3d2df1ac512c8d30
R 70b7123ef26fc35932871334bf1b767b
U drh
Z e48be2bfe822e32604f22d78d2be1c02
Z 97923746cc2f7b18a22c50ab5601a1cf

View File

@ -1 +1 @@
e94b2ef2242d716379a35dba3d2df1ac512c8d30
cd6598f47480a6189df3e4283231833fd246d7fb

View File

@ -415,7 +415,7 @@ cmd ::= select(X). {
** all elements in the list. And make sure list length does not exceed
** SQLITE_LIMIT_COMPOUND_SELECT.
*/
void parserDoubleLinkSelect(Parse *pParse, Select *p){
static void parserDoubleLinkSelect(Parse *pParse, Select *p){
if( p->pPrior ){
Select *pNext = 0, *pLoop;
int mxSelect, cnt = 0;