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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user