1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Remove a C++ism that snuck in on one of the reason changes. (CVS 2676)

FossilOrigin-Name: 48f6a331efea419fe948cd366f9c60ae41edddfd
This commit is contained in:
drh
2005-09-08 19:01:05 +00:00
parent 4f26bb62a8
commit 825c662e66
3 changed files with 8 additions and 8 deletions

View File

@@ -257,8 +257,8 @@ void *sqlite3_user_data(sqlite3_context *p){
** same context that was returned on prior calls.
*/
void *sqlite3_aggregate_context(sqlite3_context *p, int nByte){
assert( p && p->pFunc && p->pFunc->xStep );
Mem *pMem = p->pMem;
assert( p && p->pFunc && p->pFunc->xStep );
if( (pMem->flags & MEM_Agg)==0 ){
if( nByte==0 ){
assert( pMem->flags==MEM_Null );