Page MenuHomePhabricator

[SQLite] implement resetting Outbound P2P messages
ClosedPublic

Authored by kamil on Aug 8 2024, 4:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 3:51 PM
Unknown Object (File)
Sun, Dec 22, 3:51 PM
Unknown Object (File)
Sun, Dec 22, 3:51 PM
Unknown Object (File)
Wed, Dec 18, 8:38 AM
Unknown Object (File)
Fri, Nov 29, 7:00 PM
Unknown Object (File)
Fri, Nov 29, 3:09 PM
Unknown Object (File)
Nov 20 2024, 3:10 AM
Unknown Object (File)
Nov 20 2024, 3:09 AM
Subscribers

Details

Summary

ENG-6982.

It is possible to do it as one query but will be more complicated and less readable, I can update if reviewers think it worth it.

Each query is described in code comments.

Test Plan

Tests

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Aug 8 2024, 5:06 AM
tomek added inline comments.
native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
2580–2611 ↗(On Diff #43256)

What happens if one of them succeeds and one fails?

This revision is now accepted and ready to land.Aug 12 2024, 1:11 AM
native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
2580–2611 ↗(On Diff #43256)

good call, I am going to wrap this in transaction in the following diffs