Page MenuHomePhabricator

D10911.diff
No OneTemporary

D10911.diff

diff --git a/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/DataStores/BaseDataStore.h b/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/DataStores/BaseDataStore.h
--- a/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/DataStores/BaseDataStore.h
+++ b/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/DataStores/BaseDataStore.h
@@ -58,6 +58,7 @@
for (const auto &operation : *storeOpsPtr) {
operation->execute();
}
+ DatabaseManager::getQueryExecutor().captureBackupLogs();
DatabaseManager::getQueryExecutor().commitTransaction();
} catch (std::system_error &e) {
error = e.what();
@@ -93,6 +94,7 @@
for (const auto &operation : storeOps) {
operation->execute();
}
+ DatabaseManager::getQueryExecutor().captureBackupLogs();
DatabaseManager::getQueryExecutor().commitTransaction();
} catch (const std::exception &e) {
DatabaseManager::getQueryExecutor().rollbackTransaction();

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 15, 7:34 PM (22 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2495188
Default Alt Text
D10911.diff (1 KB)

Event Timeline