[bitbake-devel,OE-core,v3,05/17] bitbake: persist_data: Disable enable_shared_cache
Submitted by Joshua Watt on Dec. 4, 2018, 3:42 a.m.
|
Patch ID: 156855
Details
Commit Message
@@ -37,12 +37,6 @@ if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
logger = logging.getLogger("BitBake.PersistData")
-if hasattr(sqlite3, 'enable_shared_cache'):
- try:
- sqlite3.enable_shared_cache(True)
- except sqlite3.OperationalError:
- pass
-
@total_ordering
class SQLTable(collections.MutableMapping):
Turns off the shared cache. It isn't a significant factor in performance (now that WAL is enabled), and is a really bad idea to have enabled in processes that fork() (as bitbake it prone to do). [YOCTO #13030] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> --- bitbake/lib/bb/persist_data.py | 6 ------ 1 file changed, 6 deletions(-)