diff options
author | drh <drh@noemail.net> | 2002-03-18 13:03:54 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2002-03-18 13:03:54 +0000 |
commit | f2d74ffb74481f30a3d7be9324ffb23728152709 (patch) | |
tree | f257f1718b62cef85813da4afdc02091ad707da6 /src | |
parent | 84e59207386a8af107ab0aea713d0af5ca688a5d (diff) | |
download | sqlite-f2d74ffb74481f30a3d7be9324ffb23728152709.tar.gz sqlite-f2d74ffb74481f30a3d7be9324ffb23728152709.zip |
Fix an uninitialized variable in AggReset() (CVS 432)
FossilOrigin-Name: 3dcdeae7f620736c1eae52ad78db1efb886ea9c3
Diffstat (limited to 'src')
-rw-r--r-- | src/vdbe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vdbe.c b/src/vdbe.c index 78713cbe8..9bdee4679 100644 --- a/src/vdbe.c +++ b/src/vdbe.c @@ -30,7 +30,7 @@ ** But other routines are also provided to help in building up ** a program instruction by instruction. ** -** $Id: vdbe.c,v 1.134 2002/03/10 21:21:00 drh Exp $ +** $Id: vdbe.c,v 1.135 2002/03/18 13:03:55 drh Exp $ */ #include "sqliteInt.h" #include <ctype.h> @@ -660,6 +660,7 @@ static void AggReset(Agg *pAgg){ Mem *pMem = &pElem->aMem[i]; if( pAgg->apFunc[i] && (pMem->s.flags & STK_AggCtx)!=0 ){ sqlite_func ctx; + ctx.pFunc = pAgg->apFunc[i]; ctx.s.flags = STK_Null; ctx.z = 0; ctx.pAgg = pMem->z; |