]> git.sur5r.net Git - bacula/bacula/commitdiff
Enhance bvfs performance .bvfs_update for MySQL
authorEric Bollengier <eric@baculasystems.com>
Sun, 18 Oct 2015 09:39:00 +0000 (11:39 +0200)
committerEric Bollengier <eric@baculasystems.com>
Fri, 30 Oct 2015 17:31:18 +0000 (18:31 +0100)
Bug reported here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737821

bacula/src/cats/bvfs.c

index 349407380ce2a16bc28ba00f9443f41e791e3fe9..1d4619d32ee22f824d06bac98e7d54619b91f43a 100644 (file)
@@ -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) "