diff options
author | drh <drh@noemail.net> | 2016-01-14 22:19:58 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-01-14 22:19:58 +0000 |
commit | 2d80151f324fc8b4ba93c96bfc7547ce62a8a80f (patch) | |
tree | 87f448eb2c28bc3fceb46c5ffdc967a68dac3a0c /src/vdbeapi.c | |
parent | 2cfe049f40d61a17ababf57e0575a12f761a7841 (diff) | |
download | sqlite-2d80151f324fc8b4ba93c96bfc7547ce62a8a80f.tar.gz sqlite-2d80151f324fc8b4ba93c96bfc7547ce62a8a80f.zip |
Combine the xFunc and xStep pointers of the FuncDef object into a single
pointer xSFunc.
FossilOrigin-Name: 0d1b3d7d3ca66cb0b97493f1aeade1703af3c9f4
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r-- | src/vdbeapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c index 33c6ba3b2..4bc912b94 100644 --- a/src/vdbeapi.c +++ b/src/vdbeapi.c @@ -779,7 +779,7 @@ static SQLITE_NOINLINE void *createAggContext(sqlite3_context *p, int nByte){ ** same context that was returned on prior calls. */ void *sqlite3_aggregate_context(sqlite3_context *p, int nByte){ - assert( p && p->pFunc && p->pFunc->xStep ); + assert( p && p->pFunc && p->pFunc->xFinalize ); assert( sqlite3_mutex_held(p->pOut->db->mutex) ); testcase( nByte<0 ); if( (p->pMem->flags & MEM_Agg)==0 ){ @@ -870,7 +870,7 @@ failed: ** context. */ int sqlite3_aggregate_count(sqlite3_context *p){ - assert( p && p->pMem && p->pFunc && p->pFunc->xStep ); + assert( p && p->pMem && p->pFunc && p->pFunc->xFinalize ); return p->pMem->n; } #endif |