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

Changes for test coverage.

FossilOrigin-Name: ddfa09c6031afd4391a9888381bf09214cd542a826b431eeb1537a070f65c5f9
This commit is contained in:
drh
2023-10-18 23:48:24 +00:00
parent 42f5ea354e
commit d05e54efff
4 changed files with 12 additions and 12 deletions

View File

@@ -1208,7 +1208,7 @@ void sqlite3ExprAddFunctionOrderBy(
){
Expr *pOB;
sqlite3 *db = pParse->db;
if( pOrderBy==0 ){
if( NEVER(pOrderBy==0) ){
assert( db->mallocFailed );
return;
}
@@ -6757,10 +6757,10 @@ static int analyzeAggregate(Walker *pWalker, Expr *pExpr){
pExpr->x.pList->a[0].pExpr,0)==0
){
pItem->bOBPayload = 0;
pItem->bOBUnique = ExprHasProperty(pExpr, EP_Distinct);
}else{
pItem->bOBPayload = 1;
}
pItem->bOBUnique = ExprHasProperty(pExpr, EP_Distinct);
}else{
pItem->iOBTab = -1;
}