From 29a5dc13ee8701a137e9b59b4df6d30681523a80 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 18 Oct 2015 11:39:00 +0200 Subject: [PATCH] Enhance bvfs performance .bvfs_update for MySQL Bug reported here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737821 --- bacula/src/cats/bvfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bacula/src/cats/bvfs.c b/bacula/src/cats/bvfs.c index 349407380c..1d4619d32e 100644 --- a/bacula/src/cats/bvfs.c +++ b/bacula/src/cats/bvfs.c @@ -472,6 +472,7 @@ static int update_path_hierarchy_cache(JCR *jcr, free(result); } + if (mdb->bdb_get_type_index() == SQL_TYPE_SQLITE3) { Mmsg(mdb->cmd, "INSERT INTO PathVisibility (PathId, JobId) " -- 2.39.2