]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/dbi.c
Fix get_basename() -- rewrite
[bacula/bacula] / bacula / src / cats / dbi.c
index 3181e8b49beb422d2ceb20a8ac3173a7808cc584..1bf948fecc2dfcc56670001464dbf36f55ea3cf6 100644 (file)
@@ -171,6 +171,13 @@ B_DB_DBI::B_DB_DBI(JCR *jcr,
    esc_obj = get_pool_memory(PM_FNAME);
    m_allow_transactions = mult_db_connections;
 
+   /* At this time, when mult_db_connections == true, this is for 
+    * specific console command such as bvfs or batch mode, and we don't
+    * want to share a batch mode or bvfs. In the future, we can change
+    * the creation function to add this parameter.
+    */
+   m_dedicated = mult_db_connections; 
+
    /*
     * Initialize the private members.
     */