Fix stray variable declaration for C89.

FossilOrigin-Name: 17eb7f18cb76170e109977a94b259b763cd86c47
This commit is contained in:
mistachkin 2015-08-20 20:21:06 +00:00
parent d10dbad5e1
commit bc63ec1d62
3 changed files with 10 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C Correctly\shandle\sempty\sfunction\sargument\slists\son\stable-valued\sfunctions.
D 2015-08-20T20:13:37.543
C Fix\sstray\svariable\sdeclaration\sfor\sC89.
D 2015-08-20T20:21:06.528
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in 4f663b6b4954b9b1eb0e6f08387688a93b57542d
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@ -281,7 +281,7 @@ F src/btmutex.c 45a968cc85afed9b5e6cf55bf1f42f8d18107f79
F src/btree.c f48b3ef91676c06a90a8832987ecef6b94c931ee
F src/btree.h 969adc948e89e449220ff0ff724c94bb2a52e9f1
F src/btreeInt.h 8177c9ab90d772d6d2c6c517e05bed774b7c92c0
F src/build.c 2a2fd9547c06a71d0e83484acc22f1485f0e731b
F src/build.c 733a7b19f2c467775d5997d8467ce3677d2c8cc6
F src/callback.c 7b44ce59674338ad48b0e84e7b72f935ea4f68b0
F src/complete.c addcd8160b081131005d5bc2d34adf20c1c5c92f
F src/ctime.c 5a0b735dc95604766f5dac73973658eef782ee8b
@ -1376,7 +1376,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh 48bd54594752d5be3337f12c72f28d2080cb630b
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
P 9b718b06b156163ae34115b6c5f6d163a7ee7cc3
R 2b816e99c82340667135ddd4e70a16fb
U drh
Z d3ffbc216692d7d7c440600b0a1b96fc
P a7acc7878b8bb8e27a0da67b2dbb7bd51df4859b
R ab9999ab7b4e03861512ce91d476cfe4
U mistachkin
Z 6bb10870cccae9f7d2b7bc147f067428

View File

@ -1 +1 @@
a7acc7878b8bb8e27a0da67b2dbb7bd51df4859b
17eb7f18cb76170e109977a94b259b763cd86c47

View File

@ -355,6 +355,7 @@ Table *sqlite3LocateTable(
p = sqlite3FindTable(pParse->db, zName, zDbase);
if( p==0 ){
const char *zMsg;
#ifndef SQLITE_OMIT_VIRTUAL_TABLE
/* If zName is the not the name of a table in the schema created using
** CREATE, then check to see if it is the name of an virtual table that
@ -364,7 +365,7 @@ Table *sqlite3LocateTable(
return pMod->pEpoTab;
}
#endif
const char *zMsg = isView ? "no such view" : "no such table";
zMsg = isView ? "no such view" : "no such table";
if( zDbase ){
sqlite3ErrorMsg(pParse, "%s: %s.%s", zMsg, zDbase, zName);
}else{