In preprocess for getting platform PCD information, if meet error, put error into...
[mirror_edk2.git] / Tools / Source / PcdTools / org / tianocore / pcd / entity / MemoryDatabaseManager.java
index ba0e3ca..2962e74 100644 (file)
@@ -235,6 +235,10 @@ public class MemoryDatabaseManager {
         return getUsageInstanceArrayByKeyString(primaryKey);\r
     }\r
 \r
+    public void clearDatabase() {\r
+        memoryDatabase.clear();\r
+    }\r
+\r
     /**\r
        Get all PCD token for a usage instance according to primary key.\r
 \r