mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables). Stub resolution/removal should be a follow-up to this.
This commit is contained in:
parent
ac3468d5cc
commit
8c8145e620
186 changed files with 48 additions and 2957 deletions
|
|
@ -235,14 +235,12 @@ AsyncExecuteStatements::executeStatement(sqlite3_stmt *aStatement)
|
|||
// Stop if we have no more results.
|
||||
if (rc == SQLITE_DONE)
|
||||
{
|
||||
Telemetry::Accumulate(Telemetry::MOZ_STORAGE_ASYNC_REQUESTS_SUCCESS, true);
|
||||
return false;
|
||||
}
|
||||
|
||||
// If we got results, we can return now.
|
||||
if (rc == SQLITE_ROW)
|
||||
{
|
||||
Telemetry::Accumulate(Telemetry::MOZ_STORAGE_ASYNC_REQUESTS_SUCCESS, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -258,7 +256,6 @@ AsyncExecuteStatements::executeStatement(sqlite3_stmt *aStatement)
|
|||
|
||||
// Set an error state.
|
||||
mState = ERROR;
|
||||
Telemetry::Accumulate(Telemetry::MOZ_STORAGE_ASYNC_REQUESTS_SUCCESS, false);
|
||||
|
||||
// Construct the error message before giving up the mutex (which we cannot
|
||||
// hold during the call to notifyError).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue