Bug 616019 - Maemo - 10mb places.sqlite database due to aggressive file growth. r=sdwilsh a=blocking-fennec

--HG--
extra : rebase_source : 0a81467765657bed731e068a5e5d0af404577420
This commit is contained in:
Doug Turner 2010-12-09 10:14:16 -08:00
Родитель ad5aee4081
Коммит 880d22155e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1113,7 +1113,7 @@ Connection::SetGrowthIncrement(PRInt32 aChunkSize, const nsACString &aDatabaseNa
// Bug 597215: Disk space is extremely limited on Android
// so don't preallocate space. This is also not effective
// on log structured file systems used by Android devices
#ifndef ANDROID
#if !defined(ANDROID) && !defined(MOZ_PLATFORM_MAEMO)
(void)::sqlite3_file_control(mDBConn,
aDatabaseName.Length() ? nsPromiseFlatCString(aDatabaseName).get() : NULL,
SQLITE_FCNTL_CHUNK_SIZE,