diff options
Diffstat (limited to 'bitbake/lib/prserv/db.py')
-rw-r--r-- | bitbake/lib/prserv/db.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/prserv/db.py b/bitbake/lib/prserv/db.py index 559935544a..86eafe338c 100644 --- a/bitbake/lib/prserv/db.py +++ b/bitbake/lib/prserv/db.py | |||
@@ -43,6 +43,10 @@ class PRTable(object): | |||
43 | continue | 43 | continue |
44 | raise exc | 44 | raise exc |
45 | 45 | ||
46 | def sync(self): | ||
47 | self.conn.commit() | ||
48 | self._execute("BEGIN EXCLUSIVE TRANSACTION") | ||
49 | |||
46 | def _getValueHist(self, version, pkgarch, checksum): | 50 | def _getValueHist(self, version, pkgarch, checksum): |
47 | data=self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=? AND checksum=?;" % self.table, | 51 | data=self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=? AND checksum=?;" % self.table, |
48 | (version, pkgarch, checksum)) | 52 | (version, pkgarch, checksum)) |