зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1157950 - Don't opt in to permission DB corruption and data loss. r=ehsan
This commit is contained in:
Родитель
9533a4e3f4
Коммит
ead6235994
|
@ -589,9 +589,6 @@ nsPermissionManager::InitDB(bool aRemoveFile)
|
|||
}
|
||||
}
|
||||
|
||||
// make operations on the table asynchronous, for performance
|
||||
mDBConn->ExecuteSimpleSQL(NS_LITERAL_CSTRING("PRAGMA synchronous = OFF"));
|
||||
|
||||
// cache frequently used statements (for insertion, deletion, and updating)
|
||||
rv = mDBConn->CreateAsyncStatement(NS_LITERAL_CSTRING(
|
||||
"INSERT INTO moz_hosts "
|
||||
|
|
Загрузка…
Ссылка в новой задаче