From 1dd813abd54c728c1d0ceb8c7546d40064721d7e Mon Sep 17 00:00:00 2001 From: Marco Bonardo Date: Thu, 3 Nov 2016 23:14:35 +0100 Subject: [PATCH] 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 --- storage/mozStorageService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/mozStorageService.cpp b/storage/mozStorageService.cpp index 5536d5b254dd..38e81fd4d0c5 100644 --- a/storage/mozStorageService.cpp +++ b/storage/mozStorageService.cpp @@ -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 "