mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
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.
This commit is contained in:
parent
f51880be1f
commit
b490bda019
9 changed files with 1 additions and 1280 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue