Bug 835796 - Negative value in about:memory storage/sqlite/other due to double-counting of shared-cache connections. r=asuth

MozReview-Commit-ID: 2rO5sApv6rn

--HG--
extra : rebase_source : bf1150a3c00b1a8f66cc86ec5fff8d4d1dd24360
This commit is contained in:
Marco Bonardo 2016-11-03 23:14:35 +01:00
Родитель 462eaac7b8
Коммит 1dd813abd5
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -156,7 +156,7 @@ Service::CollectReports(nsIHandleReportCallback *aHandleReport,
"to this database.");
ReportConn(aHandleReport, aData, conn, pathHead,
NS_LITERAL_CSTRING("cache"), cacheDesc,
SQLITE_DBSTATUS_CACHE_USED, &totalConnSize);
SQLITE_DBSTATUS_CACHE_USED_SHARED, &totalConnSize);
NS_NAMED_LITERAL_CSTRING(schemaDesc,
"Memory (approximate) used to store the schema for all databases "