]> git.sur5r.net Git - bacula/bacula/commitdiff
Add multiple database connections variable
authorKern Sibbald <kern@sibbald.com>
Thu, 9 Sep 2004 15:14:14 +0000 (15:14 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 9 Sep 2004 15:14:14 +0000 (15:14 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1591 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/dird_conf.c
bacula/src/dird/dird_conf.h
bacula/src/version.h

index 09d6c0924bb03ec5b9cba91fcd0087772519d947..6eef624496846afffc9d604be2c68959ec96dee9 100644 (file)
@@ -190,6 +190,7 @@ static RES_ITEM cat_items[] = {
    {"user",     store_str,      ITEM(res_cat.db_user),     0, 0, 0},
    {"dbname",   store_str,      ITEM(res_cat.db_name),     0, ITEM_REQUIRED, 0},
    {"dbsocket", store_str,      ITEM(res_cat.db_socket),   0, 0, 0}, 
+   {"multipleconnections", store_yesno, ITEM(res_cat.mult_db_connections), 0, 0, 0},
    {NULL, NULL, NULL, 0, 0, 0} 
 };
 
@@ -1222,4 +1223,3 @@ void store_acl(LEX *lc, RES_ITEM *item, int index, int pass)
    }
    set_bit(index, res_all.hdr.item_present);
 }
-
index 6725b8e1d3d4280d529b72479b04647330f0cdf1..f3a45bca6ac6664556a7f8e286af8260bb567334 100644 (file)
@@ -148,6 +148,7 @@ struct CAT {
    char *db_password;
    char *db_user;
    char *db_name;
+   int   mult_db_connections;         /* set if multiple connections wanted */
 };
 
 
index 4b19f6f8cfbf1ae77648f0387480df48d646b9d3..c4c5ae0f1ebe01309c3db0a4719881214cf5e886 100644 (file)
@@ -1,8 +1,8 @@
 /* */
 #undef  VERSION
 #define VERSION "1.35.3"
-#define BDATE   "08 September 2004"
-#define LSMDATE "08Sep04"
+#define BDATE   "09 September 2004"
+#define LSMDATE "09Sep04"
 
 /* Debug flags */
 #undef  DEBUG