Page MenuHomePhabricator

D11009.id36932.diff
No OneTemporary

D11009.id36932.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
@@ -1728,6 +1728,12 @@
<< sqlite3_errstr(backupResult);
throw std::runtime_error(error_message.str());
}
+
+ std::string removeExpendableDataSQL =
+ "DELETE FROM olm_persist_account;"
+ "DELETE FROM olm_persist_sessions;"
+ "DELETE FROM metadata;";
+ executeQuery(backupDB, removeExpendableDataSQL);
executeQuery(backupDB, "VACUUM;");
sqlite3_close(backupDB);

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 1:44 AM (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2532736
Default Alt Text
D11009.id36932.diff (688 B)

Event Timeline