mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-16 23:02:26 +03:00
Fix harmless compiler warnings.
See [forum:/forumpost/256140e470|forum post 256140e470]. FossilOrigin-Name: 1b8da7924cc78710ae4bbe12b57140fdaeae5efb0e6ac10073ae9c98b7f8d7a4
This commit is contained in:
@@ -4145,7 +4145,7 @@ static LogEst whereSortingCost(
|
||||
}else if( (pWInfo->wctrlFlags & WHERE_WANT_DISTINCT) ){
|
||||
/* TUNING: In the sort for a DISTINCT operator, assume that the DISTINCT
|
||||
** reduces the number of output rows by a factor of 2 */
|
||||
if( nRow>10 ) nRow -= 10; assert( 10==sqlite3LogEst(2) );
|
||||
if( nRow>10 ){ nRow -= 10; assert( 10==sqlite3LogEst(2) ); }
|
||||
}
|
||||
rSortCost += estLog(nRow);
|
||||
return rSortCost;
|
||||
|
||||
Reference in New Issue
Block a user