Bug 413788 ? global frecency regressed Ts by 10ms on bl-bldlnx03 (r=sspitzer, a=sayrer)

This commit is contained in:
dietrich@mozilla.com 2008-01-23 22:18:52 -08:00
parent ec98a5e480
commit b08d3782fd

View File

@ -807,7 +807,7 @@ nsNavHistory::InitDB(PRInt16 *aMadeChanges)
PRBool migrated = PR_FALSE;
rv = EnsureCurrentSchema(mDBConn, &migrated);
NS_ENSURE_SUCCESS(rv, rv);
if (*aMadeChanges != DB_MIGRATION_CREATED)
if (migrated && *aMadeChanges != DB_MIGRATION_CREATED)
*aMadeChanges = DB_MIGRATION_UPDATED;
rv = transaction.Commit();