mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 782616 - Don't treat SetJournalMode's return type as nsresult; r=mak
This commit is contained in:
parent
7acf3e98f6
commit
cc9de5984f
@ -560,7 +560,7 @@ Database::InitSchema(bool* aDatabaseMigrated)
|
||||
|
||||
// Be sure to set journal mode after page_size. WAL would prevent the change
|
||||
// otherwise.
|
||||
if (NS_SUCCEEDED(SetJournalMode(mMainConn, JOURNAL_WAL))) {
|
||||
if (JOURNAL_WAL == SetJournalMode(mMainConn, JOURNAL_WAL)) {
|
||||
// Set the WAL journal size limit. We want it to be small, since in
|
||||
// synchronous = NORMAL mode a crash could cause loss of all the
|
||||
// transactions in the journal. For added safety we will also force
|
||||
|
Loading…
Reference in New Issue
Block a user