mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1157950 - Don't opt in to permission DB corruption and data loss. r=ehsan
This commit is contained in:
parent
d4921fe29b
commit
31920c3587
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user