1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

bitbake: Remove persist_data domain renaming code as it appears to expose sqlite bugs and data consistency issues

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-07-30 21:24:31 +01:00
parent ef9c095334
commit 433c2d2318
4 changed files with 14 additions and 26 deletions
-10
View File
@@ -69,16 +69,6 @@ class PersistData:
"""
self.connection.execute("DROP TABLE IF EXISTS %s;" % domain)
def renameDomain(self, domain, newdomain):
"""
Renames a domain, removing the target if it already exists
"""
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):
"""
Return a list of key + value pairs for a domain