Fix an uninitialized variable in expr.c. Ticket #604. (CVS 1225)

FossilOrigin-Name: 1673bf7c7b64542530ee03328186be33cb88c98d
This commit is contained in:
drh 2004-02-11 10:35:29 +00:00
parent bbd82df617
commit 7e26d75094
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C Refactor\sthe\sinterface\sto\sthe\srandomness\sgenerator.\s(CVS\s1224)
D 2004-02-11T09:46:31
C Fix\san\suninitialized\svariable\sin\sexpr.c.\s\sTicket\s#604.\s(CVS\s1225)
D 2004-02-11T10:35:30
F Makefile.in cfd75c46b335881999333a9e4b982fa8491f200b
F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906
F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd
@ -31,7 +31,7 @@ F src/copy.c 9e47975ea96751c658bcf1a0c4f0bb7c6ee61e73
F src/date.c c9d2bfd40b1c95f8f97d53a5eba981d7167c7b61
F src/delete.c 0778fe05df0a1d62ac27fd1a3dba237c186ff4d1
F src/encode.c 9e70ea1e4e746f23f18180949e94f1bb1c2220d3
F src/expr.c 3928893e8a7576484cd2ed5548468ba978d8005a
F src/expr.c fdd57e18cf6f2dea42e1e1930930b32ec6351c47
F src/func.c cbc5edd10c82a5193b9ca0726873328be445e6c1
F src/hash.c 9b56ef3b291e25168f630d5643a4264ec011c70e
F src/hash.h 3247573ab95b9dd90bcca0307a75d9a16da1ccc7
@ -183,7 +183,7 @@ F www/sqlite.tcl 3c83b08cf9f18aa2d69453ff441a36c40e431604
F www/tclsqlite.tcl b9271d44dcf147a93c98f8ecf28c927307abd6da
F www/vdbe.tcl 9b9095d4495f37697fd1935d10e14c6015e80aa1
F www/whentouse.tcl a8335bce47cc2fddb07f19052cb0cb4d9129a8e4
P 5200e9edc5fdba0285a3cb1cd808cbf66d7a349e
R c5684db8f7677f57705b421717c383e1
P f2bdccf4bb2f796aafb64c33e55f62a1794d750c
R 4c4a094fa84cb46b0571c51095cf3799
U drh
Z df9e7656fc2be67ad6e1201f87c6b61c
Z 3418a85212310c666c6e9252c10a191a

View File

@ -1 +1 @@
f2bdccf4bb2f796aafb64c33e55f62a1794d750c
1673bf7c7b64542530ee03328186be33cb88c98d

View File

@ -12,7 +12,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
** $Id: expr.c,v 1.107 2004/01/25 22:44:59 drh Exp $
** $Id: expr.c,v 1.108 2004/02/11 10:35:30 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@ -415,7 +415,7 @@ static int lookupName(
int i, j; /* Loop counters */
int cnt = 0; /* Number of matching column names */
int cntTab = 0; /* Number of matching table names */
sqlite *db; /* The database */
sqlite *db = pParse->db; /* The database */
assert( pColumnToken && pColumnToken->z ); /* The Z in X.Y.Z cannot be NULL */
if( pDbToken && pDbToken->z ){