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

Add extra assert() statements to the fixes on this branch.

FossilOrigin-Name: 81b6360050eea95e4367de1b41b5864a640b4d1c5c8fc3bea3b96ed770cb0325
This commit is contained in:
dan
2024-07-17 16:27:36 +00:00
parent 7acf972c59
commit a592883d87
9 changed files with 36 additions and 16 deletions

View File

@@ -7690,6 +7690,7 @@ case OP_AggStep: {
pCtx = sqlite3DbMallocRawNN(db, nAlloc + sizeof(Mem));
if( pCtx==0 ) goto no_mem;
pCtx->pOut = (Mem*)((u8*)pCtx + nAlloc);
assert( EIGHT_BYTE_ALIGNMENT(pCtx->pOut) );
sqlite3VdbeMemInit(pCtx->pOut, db, MEM_Null);
pCtx->pMem = 0;