Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33021786
D6201.1768387189.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6201.1768387189.diff
View Options
diff --git a/native/cpp/CommonCpp/DatabaseManagers/DatabaseManager.h b/native/cpp/CommonCpp/DatabaseManagers/DatabaseManager.h
--- a/native/cpp/CommonCpp/DatabaseManagers/DatabaseManager.h
+++ b/native/cpp/CommonCpp/DatabaseManagers/DatabaseManager.h
@@ -9,6 +9,7 @@
class DatabaseManager {
public:
static const DatabaseQueryExecutor &getQueryExecutor();
+ static void clearSensitiveData();
};
} // namespace comm
diff --git a/native/cpp/CommonCpp/DatabaseManagers/DatabaseManager.cpp b/native/cpp/CommonCpp/DatabaseManagers/DatabaseManager.cpp
--- a/native/cpp/CommonCpp/DatabaseManagers/DatabaseManager.cpp
+++ b/native/cpp/CommonCpp/DatabaseManagers/DatabaseManager.cpp
@@ -10,4 +10,8 @@
return instance;
}
+void DatabaseManager::clearSensitiveData() {
+ SQLiteQueryExecutor::clearSensitiveData();
+}
+
} // namespace comm
diff --git a/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp b/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
--- a/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
+++ b/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
@@ -1044,7 +1044,7 @@
taskType job = [this, promise]() {
std::string error;
try {
- SQLiteQueryExecutor::clearSensitiveData();
+ DatabaseManager::clearSensitiveData();
} catch (const std::exception &e) {
error = e.what();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 14, 10:39 AM (2 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5931586
Default Alt Text
D6201.1768387189.diff (1 KB)
Attached To
Mode
D6201: [native] add `clearSensitiveData` to Database Manager
Attached
Detach File
Event Timeline
Log In to Comment