*/
#undef VERSION
-#define VERSION "2.0.0"
-#define BDATE "04 January 2007"
-#define LSMDATE "04Jan07"
+#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 */
+#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 */