From: Marco van Wieringen Date: Fri, 26 Mar 2010 21:01:58 +0000 (+0100) Subject: Add missing db_unlock to bvfs_update_cache. X-Git-Tag: Release-5.0.2~149 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=51f301e297a85b1250e69b71d5763cae11d72be6;p=bacula%2Fbacula Add missing db_unlock to bvfs_update_cache. --- diff --git a/bacula/src/cats/bvfs.c b/bacula/src/cats/bvfs.c index b0951e2aa6..56a485a23f 100644 --- a/bacula/src/cats/bvfs.c +++ b/bacula/src/cats/bvfs.c @@ -437,6 +437,7 @@ void bvfs_update_cache(JCR *jcr, B_DB *mdb) Dmsg1(dbglevel, "Affected row(s) = %d\n", nb); db_end_transaction(jcr, mdb); + db_unlock(mdb); } /*