summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/persist_data.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py
index 994e61b0a6..5795bc835b 100644
--- a/bitbake/lib/bb/persist_data.py
+++ b/bitbake/lib/bb/persist_data.py
@@ -199,7 +199,9 @@ class PersistData(object):
199 del self.data[domain][key] 199 del self.data[domain][key]
200 200
201def connect(database): 201def connect(database):
202 return sqlite3.connect(database, timeout=5, isolation_level=None) 202 connection = sqlite3.connect(database, timeout=5, isolation_level=None)
203 connection.execute("pragma synchronous = off;")
204 return connection
203 205
204def persist(domain, d): 206def persist(domain, d):
205 """Convenience factory for SQLTable objects based upon metadata""" 207 """Convenience factory for SQLTable objects based upon metadata"""