From: Eric Bollengier Date: Wed, 13 May 2009 08:07:47 +0000 (+0000) Subject: ebl Turn on lockmanager when using DEVELOPER flag X-Git-Tag: Release-7.0.0~3046 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff493777cd59d4a2c1901b6ac495365b6e708b11;p=bacula%2Fbacula 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 --- 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