From ff493777cd59d4a2c1901b6ac495365b6e708b11 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 13 May 2009 08:07:47 +0000 Subject: [PATCH] ebl Turn on lockmanager when using DEVELOPER flag git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8822 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/version.h | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/bacula/src/version.h b/bacula/src/version.h index c021c6b069..91a53c34c7 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -4,8 +4,8 @@ #undef VERSION #define VERSION "3.0.1" -#define BDATE "04 May 2009" -#define LSMDATE "04May09" +#define BDATE "13 May 2009" +#define LSMDATE "13May09" #define PROG_COPYRIGHT "Copyright (C) %d-2009 Free Software Foundation Europe e.V.\n" #define BYEAR "2009" /* year for copyright messages in progs */ @@ -54,7 +54,18 @@ * penalties. */ #ifdef DEVELOPER -#define SMCHECK +# define SMCHECK +#endif + +/* + * _USE_LOCKMGR does lock/unlock mutex tracking (dead lock) + * it can always be turned on, but we advise to use it only + * for debug + */ +#ifdef DEVELOPER +# ifndef _USE_LOCKMGR +# define _USE_LOCKMGR +# endif #endif /* @@ -62,18 +73,18 @@ * run regress test. */ #ifdef HAVE_LINUX_OS -#define USE_VTAPE +# define USE_VTAPE #endif /* * for fastest speed but you must have a UPS to avoid unwanted shutdowns */ -#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF" +//#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF" /* * for more safety, but is 30 times slower than above */ -//#define SQLITE3_INIT_QUERY "PRAGMA synchronous = NORMAL" +#define SQLITE3_INIT_QUERY "PRAGMA synchronous = NORMAL" /* * This should always be on. It enables data encryption code -- 2.39.5