Details
Details
Tested later in the stack, existing tables (e.g. olm_persist_account) are not overwritten during restore
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- backup-publish
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp | ||
---|---|---|
3313 | We need to use this only on not-encrypted databases, see next diff in the stack | |
3317 | We want OR IGNORE statement to skip duplicated primary keys, the example is a thread with Ashoat, which is created for each user (we won't include thin thread data in backup, but we do now, so without this each copy statement could fail) | |
native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.h | ||
58 | We might want to have a custom copy method (by specifying fields), e.g. for messages where we have one generated column |
Comment Actions
Don't we want this method to take a vector of tables to copy? Looking at D14519, I see you're running this in a loop, so the ATTACH DATABASE ..., DETACH statements are repeated for each table