Bug 464486 - lots of bookmark corruption reported via user support (r=marco, sdwilsh)
This commit is contained in:
Родитель
6872a3332e
Коммит
5dc0d1e13c
|
@ -670,6 +670,12 @@ nsNavHistory::InitDB()
|
|||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
#endif
|
||||
|
||||
// Set pragma synchronous to FULL to ensure
|
||||
// maximum data integrity.
|
||||
rv = mDBConn->ExecuteSimpleSQL(NS_LITERAL_CSTRING(
|
||||
"PRAGMA synchronous = FULL"));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
mozStorageTransaction transaction(mDBConn, PR_FALSE);
|
||||
|
||||
// Initialize the other places services' database tables. We do this before
|
||||
|
|
Загрузка…
Ссылка в новой задаче