From: Eric Bollengier Date: Fri, 4 Nov 2011 09:20:43 +0000 (+0100) Subject: bvfs: Use single transaction for each job during update X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c5f12139bd9f7ab4b08ef876091c7f014f828b92;p=bacula%2Fbacula bvfs: Use single transaction for each job during update --- 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,