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-7.0.0~2036 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a07650efe8151e13a9c299b77b581e50bdcb5dee;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 20a4578270..ef3fad5c4d 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); } /*