1. Add an action to commit to database after parsing meta-data files.
authorhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 1 Apr 2008 03:18:51 +0000 (03:18 +0000)
committerhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 1 Apr 2008 03:18:51 +0000 (03:18 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1096 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/Ecc/Ecc.py

index 7a87d04..398a2ec 100644 (file)
@@ -148,7 +148,12 @@ class Ecc(object):
                     Fdf(Filename, True, EccGlobalData.gWorkspace, EccGlobalData.gDb)                    \r
                     continue\r
         Op.close()\r
-\r
+        \r
+        #\r
+        # Commit to database\r
+        #\r
+        EccGlobalData.gDb.Conn.commit()\r
+        \r
         EdkLogger.quiet("Building database for meta data files done!")\r
     \r
     ##\r