diff options
-rw-r--r-- | bitbake/lib/bb/persist_data.py | 4 |
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 | ||
201 | def connect(database): | 201 | def 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 | ||
204 | def persist(domain, d): | 206 | def persist(domain, d): |
205 | """Convenience factory for SQLTable objects based upon metadata""" | 207 | """Convenience factory for SQLTable objects based upon metadata""" |