]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/ingres.c
Ensure that bvfs SQL link is not shared
[bacula/bacula] / bacula / src / cats / ingres.c
index feb1aecf4983aa1574b638f6e9afd1ee9f00eab4..b48fcf9052024eb17f5b71b648b78e51998b29f9 100755 (executable)
@@ -204,6 +204,13 @@ B_DB_INGRES::B_DB_INGRES(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.
     */