mirror of
https://git.yoctoproject.org/poky
synced 2026-10-20 18:38:18 +00:00
bitbake: Make sure tables exist when renaming
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
1 parent
64b04685b6
commit
ef9c095334
2 files changed
+2
No files matched your search
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user