Page MenuHomePhabricator

D11009.id37376.diff
No OneTemporary

D11009.id37376.diff

diff --git a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
--- a/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
+++ b/native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
@@ -1729,6 +1729,12 @@
<< sqlite3_errstr(backupResult);
throw std::runtime_error(error_message.str());
}
+
+ std::string removeDeviceSpecificDataSQL =
+ "DELETE FROM olm_persist_account;"
+ "DELETE FROM olm_persist_sessions;"
+ "DELETE FROM metadata;";
+ executeQuery(backupDB, removeDeviceSpecificDataSQL);
executeQuery(backupDB, "VACUUM;");
sqlite3_close(backupDB);

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 1:52 AM (21 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2532337
Default Alt Text
D11009.id37376.diff (696 B)

Event Timeline