Bug 1157950 - Don't opt in to permission DB corruption and data loss. r=ehsan

This commit is contained in:
Jed Davis 2015-04-24 14:28:00 -04:00
parent d4921fe29b
commit 31920c3587

View File

@ -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 "