From 7213562e6ea8876cf33c5845ff1fd36d3e78617b Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 4 Nov 2011 10:20:43 +0100 Subject: [PATCH] bvfs: Use single transaction for each job during update --- bacula/src/cats/bvfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bacula/src/cats/bvfs.c b/bacula/src/cats/bvfs.c index 9aa58124f6..9131a00baf 100644 --- a/bacula/src/cats/bvfs.c +++ b/bacula/src/cats/bvfs.c @@ -445,7 +445,6 @@ void bvfs_update_cache(JCR *jcr, B_DB *mdb) db_list_ctx jobids_list; db_lock(mdb); - db_start_transaction(jcr, mdb); #ifdef xxx /* TODO: Remove this code when updating make_bacula_table script */ @@ -496,7 +495,6 @@ void bvfs_update_cache(JCR *jcr, B_DB *mdb) bvfs_update_path_hierarchy_cache(jcr, mdb, jobids_list.list); - db_end_transaction(jcr, mdb); db_start_transaction(jcr, mdb); Dmsg0(dbglevel, "Cleaning pathvisibility\n"); Mmsg(mdb->cmd, -- 2.39.5