mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 403040 Places killed all my history >2 days ago (r=sspitzer, a=drivers)
This commit is contained in:
parent
c437b244a9
commit
c96b2a0062
@ -487,7 +487,7 @@ nsNavHistoryExpire::FindVisits(PRTime aExpireThreshold, PRUint32 aNumToExpire,
|
||||
nsCOMPtr<mozIStorageStatement> selectStatement;
|
||||
nsCAutoString sqlDate;
|
||||
sqlDate.Assign(sqlBase);
|
||||
sqlDate.AppendLiteral("AND visit_date < ?1 LIMIT ?2");
|
||||
sqlDate.AppendLiteral("WHERE v.visit_date < ?1 LIMIT ?2");
|
||||
rv = aConnection->CreateStatement(sqlDate, getter_AddRefs(selectStatement));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
rv = selectStatement->BindInt64Parameter(0, aExpireThreshold);
|
||||
|
Loading…
Reference in New Issue
Block a user