Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3296608
D11009.id37376.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
696 B
Referenced Files
None
Subscribers
None
D11009.id37376.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11009: Remove expendable data during compaction creation
Attached
Detach File
Event Timeline
Log In to Comment