From 01b10f2e92fe5eefe9c3f76338854599550bd9b1 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 9 Sep 2004 15:14:14 +0000 Subject: [PATCH] Add multiple database connections variable git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1591 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/dird_conf.c | 2 +- bacula/src/dird/dird_conf.h | 1 + bacula/src/version.h | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bacula/src/dird/dird_conf.c b/bacula/src/dird/dird_conf.c index 09d6c0924b..6eef624496 100644 --- a/bacula/src/dird/dird_conf.c +++ b/bacula/src/dird/dird_conf.c @@ -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); } - diff --git a/bacula/src/dird/dird_conf.h b/bacula/src/dird/dird_conf.h index 6725b8e1d3..f3a45bca6a 100644 --- a/bacula/src/dird/dird_conf.h +++ b/bacula/src/dird/dird_conf.h @@ -148,6 +148,7 @@ struct CAT { char *db_password; char *db_user; char *db_name; + int mult_db_connections; /* set if multiple connections wanted */ }; diff --git a/bacula/src/version.h b/bacula/src/version.h index 4b19f6f8cf..c4c5ae0f1e 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -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 -- 2.39.2