From: Eric Bollengier Date: Sun, 18 Oct 2015 09:39:00 +0000 (+0200) Subject: Enhance bvfs performance .bvfs_update for MySQL X-Git-Tag: Release-7.4.0~207 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=29a5dc13ee8701a137e9b59b4df6d30681523a80;p=bacula%2Fbacula Enhance bvfs performance .bvfs_update for MySQL Bug reported here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737821 --- 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) "