]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerChris Larson <chris_larson@mentor.com>
Fri, 19 Nov 2010 20:59:16 +0000 (13:59 -0700)
commit60b9b18eafad5ac46c7cf1048d749d673c2ee0ad
treeec982c4251853e1d02cb0f2c8ca6bb1d77f092b1
parent8da9744fcdf856abebcfbe9e3bc1b8cf07bc317b
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.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/fetch/__init__.py
lib/bb/persist_data.py