diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-05-06 10:28:50 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-05-06 13:55:19 -0400 |
commit | 83ecae9ff7ee1469da1675435dbcf26d094aa1c6 (patch) | |
tree | 947b6b23da44501e1bdf83b287cf69124a734acc /storage/mozStorageConnection.cpp | |
parent | 789146fb7463980964462558bd1a93cc6a1eb643 (diff) | |
download | UXP-83ecae9ff7ee1469da1675435dbcf26d094aa1c6.tar UXP-83ecae9ff7ee1469da1675435dbcf26d094aa1c6.tar.gz UXP-83ecae9ff7ee1469da1675435dbcf26d094aa1c6.tar.lz UXP-83ecae9ff7ee1469da1675435dbcf26d094aa1c6.tar.xz UXP-83ecae9ff7ee1469da1675435dbcf26d094aa1c6.zip |
Issue #21 - Remove TelemertyVFS
This reverts m-c Bug 668378 and completely removes Telemetry SQLite IO. As a bonus this fixes a potential crash in newer SQLite versions without the need for updating this useless telemetry shim.
Diffstat (limited to 'storage/mozStorageConnection.cpp')
-rw-r--r-- | storage/mozStorageConnection.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/storage/mozStorageConnection.cpp b/storage/mozStorageConnection.cpp index e6c357185..40a71c28b 100644 --- a/storage/mozStorageConnection.cpp +++ b/storage/mozStorageConnection.cpp @@ -1991,10 +1991,6 @@ Connection::EnableModule(const nsACString& aModuleName) return NS_ERROR_FAILURE; } -// Implemented in TelemetryVFS.cpp -already_AddRefed<QuotaObject> -GetQuotaObjectForFile(sqlite3_file *pFile); - NS_IMETHODIMP Connection::GetQuotaObjects(QuotaObject** aDatabaseQuotaObject, QuotaObject** aJournalQuotaObject) @@ -2015,8 +2011,6 @@ Connection::GetQuotaObjects(QuotaObject** aDatabaseQuotaObject, return convertResultCode(srv); } - RefPtr<QuotaObject> databaseQuotaObject = GetQuotaObjectForFile(file); - srv = ::sqlite3_file_control(mDBConn, nullptr, SQLITE_FCNTL_JOURNAL_POINTER, @@ -2025,10 +2019,6 @@ Connection::GetQuotaObjects(QuotaObject** aDatabaseQuotaObject, return convertResultCode(srv); } - RefPtr<QuotaObject> journalQuotaObject = GetQuotaObjectForFile(file); - - databaseQuotaObject.forget(aDatabaseQuotaObject); - journalQuotaObject.forget(aJournalQuotaObject); return NS_OK; } |