]> code.ossystems Code Review - openembedded-core.git/commit
Revert "persist_data: cache connection and use cursor"
authorChris Larson <chris_larson@mentor.com>
Fri, 19 Nov 2010 02:51:51 +0000 (19:51 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 5 Jan 2011 00:58:23 +0000 (00:58 +0000)
commit3069c0b2588c9e88a4fa2fd4d37356410d364410
treee0f101e24b50feb9c014c8d3ed98baf62b915467
parent30d27115ec38b8191d81504858d105b0d91277d8
Revert "persist_data: cache connection and use cursor"

Caching the database connection can cause serious issues if it results in
multiple processes (e.g. multiple tasks) simultaneously using the same
connection.

This reverts commit 8a6876752b90efd81d92f0947bfc9527d8260969.

(Bitbake rev: 60b9b18eafad5ac46c7cf1048d749d673c2ee0ad)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/fetch/__init__.py
bitbake/lib/bb/persist_data.py