mirror of
https://github.com/sqlite/sqlite.git
synced 2026-01-06 08:01:16 +03:00
Fix the coredump. There are still problems in the test suite though. (CVS 402)
FossilOrigin-Name: 6af10cc53acc1ffa60de3f0d5880a6b72815404c
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
** This file contains C code routines that are called by the parser
|
||||
** to handle SELECT statements in SQLite.
|
||||
**
|
||||
** $Id: select.c,v 1.69 2002/02/28 00:41:11 drh Exp $
|
||||
** $Id: select.c,v 1.70 2002/02/28 01:46:13 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -1271,7 +1271,7 @@ int sqliteSelect(
|
||||
}
|
||||
}
|
||||
sqliteVdbeAddOp(v, OP_Integer, i, 0);
|
||||
sqliteVdbeAddOp(v, OP_AggFunc, 0, pE->pList->nExpr);
|
||||
sqliteVdbeAddOp(v, OP_AggFunc, 0, pE->pList ? pE->pList->nExpr : 0);
|
||||
assert( pParse->aAgg[i].pFunc!=0 );
|
||||
assert( pParse->aAgg[i].pFunc->xStep!=0 );
|
||||
sqliteVdbeChangeP3(v, -1, (char*)pParse->aAgg[i].pFunc, P3_POINTER);
|
||||
|
||||
Reference in New Issue
Block a user