1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Back out the ALWAYS inserted late yesterday. The fuzzer discovered a

counter-example.

FossilOrigin-Name: 570635575cc5fbffe910ed992b58393e214117ef3b5370a66f115cd0ee202913
This commit is contained in:
drh
2023-11-03 18:45:26 +00:00
parent ab8a4b2bb0
commit 5189ef98d3
3 changed files with 10 additions and 9 deletions

View File

@@ -8472,7 +8472,7 @@ int sqlite3Select(
updateAccumulator(pParse, regAcc, pAggInfo, eDist);
if( eDist!=WHERE_DISTINCT_NOOP ){
struct AggInfo_func *pF = pAggInfo->aFunc;
if( ALWAYS(pF) ){
if( pF ){
fixDistinctOpenEph(pParse, eDist, pF->iDistinct, pF->iDistAddr);
}
}