]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/version.h
kes Implement --with-batch-insert in configure and detection of thread
[bacula/bacula] / bacula / src / version.h
index ee96c8d5f644d46560219f0fd55ed548573b5f28..2a9154d9e0121d1602fa894d99e3fc8c964099a0 100644 (file)
@@ -3,9 +3,9 @@
  */
 
 #undef  VERSION
-#define VERSION "2.1.1"
-#define BDATE   "18 January 2007"
-#define LSMDATE "18Jan07"
+#define VERSION "2.1.11"
+#define BDATE   "04 June 2007"
+#define LSMDATE "04Jun07"
 
 #define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n"
 #define BYEAR "2007"       /* year for copyright messages in progs */
 #undef  DEBUG
 #define DEBUG 1
 #define TRACEBACK 1
-#define SMCHECK
 #define TRACE_FILE 1
 
 /* If this is set stdout will not be closed on startup */
 #define DEVELOPER 1
 
+/*
+ * SMCHECK does orphaned buffer checking (memory leaks)
+ *  it can always be turned on, but has some minor performance
+ *  penalties.
+ */
+#ifdef DEVELOPER
+#define SMCHECK
+#endif
+
+/* 
+ * for fastest speed but you must have a UPS to avoid unwanted shutdowns
+ */
+#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF"
+
+/*
+ * for more safety, but is 30 times slower than above
+ */
+//#define SQLITE3_INIT_QUERY "PRAGMA synchronous = NORMAL"
+
+/*
+ * This should always be on. It enables data encryption code 
+ *  providing it is configured.
+ */
 #define DATA_ENCRYPTION 1
 
+/*
+ * This uses a Bacula specific bsnprintf rather than the sys lib
+ *  version because it is much more secure. It should always be 
+ *  on.
+ */
 #define USE_BSNPRINTF 1
 
-/* Disk file seeking is now controled by CAP_POSITIONBLOCKS */
-
 /* Debug flags not normally turned on */
 
 /* #define TRACE_JCR_CHAIN 1 */