mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Use OP_Copy rather than OP_SCopy at one point in aggregate processing where
it is needed to avoid shallow-copy misuse. FossilOrigin-Name: a5eefd5239bf5b4f9d0bdfb312f5b33c0a196178
This commit is contained in:
@@ -3465,7 +3465,7 @@ static void updateAccumulator(Parse *pParse, AggInfo *pAggInfo){
|
||||
if( pList ){
|
||||
nArg = pList->nExpr;
|
||||
regAgg = sqlite3GetTempRange(pParse, nArg);
|
||||
sqlite3ExprCodeExprList(pParse, pList, regAgg, 0);
|
||||
sqlite3ExprCodeExprList(pParse, pList, regAgg, 1);
|
||||
}else{
|
||||
nArg = 0;
|
||||
regAgg = 0;
|
||||
|
||||
Reference in New Issue
Block a user