diff options
-rw-r--r-- | bitbake-dev/lib/bb/persist_data.py | 1 | ||||
-rw-r--r-- | bitbake/lib/bb/persist_data.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/persist_data.py b/bitbake-dev/lib/bb/persist_data.py index ea921072c..1d60a0a13 100644 --- a/bitbake-dev/lib/bb/persist_data.py +++ b/bitbake-dev/lib/bb/persist_data.py @@ -76,6 +76,7 @@ class PersistData: """ self.connection.execute("DROP TABLE IF EXISTS %s;" % newdomain) + self.addDomain(domain) self.connection.execute("ALTER TABLE %s RENAME TO %s;" % (domain, newdomain)) def getKeyValues(self, domain): diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py index ea921072c..1d60a0a13 100644 --- a/bitbake/lib/bb/persist_data.py +++ b/bitbake/lib/bb/persist_data.py @@ -76,6 +76,7 @@ class PersistData: """ self.connection.execute("DROP TABLE IF EXISTS %s;" % newdomain) + self.addDomain(domain) self.connection.execute("ALTER TABLE %s RENAME TO %s;" % (domain, newdomain)) def getKeyValues(self, domain): |