mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1168166 - Ignore failed IndexedDB optimization if disk is too full, r=janv.
This commit is contained in:
parent
35fad51614
commit
5c7efc9f6c
@ -3640,9 +3640,11 @@ SetDefaultPragmas(mozIStorageConnection* aConnection)
|
||||
|
||||
#ifndef IDB_MOBILE
|
||||
if (kSQLiteGrowthIncrement) {
|
||||
// This is just an optimization so ignore the failure if the disk is
|
||||
// currently too full.
|
||||
rv = aConnection->SetGrowthIncrement(kSQLiteGrowthIncrement,
|
||||
EmptyCString());
|
||||
if (NS_WARN_IF(NS_FAILED(rv))) {
|
||||
if (rv != NS_ERROR_FILE_TOO_BIG && NS_WARN_IF(NS_FAILED(rv))) {
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user