]> 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 e08264fc02d9080fa58c0a71113de2c8fca37374..2a9154d9e0121d1602fa894d99e3fc8c964099a0 100644 (file)
@@ -3,9 +3,9 @@
  */
 
 #undef  VERSION
-#define VERSION "2.1.4"
-#define BDATE   "12 February 2007"
-#define LSMDATE "12Feb07"
+#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 DATA_ENCRYPTION 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
 
-#define USE_BSNPRINTF 1
+/* 
+ * for fastest speed but you must have a UPS to avoid unwanted shutdowns
+ */
+#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF"
 
-/* Turn on the following flag to enable batch attribute inserts
- *  in the catalog.  This gives a large speedup.
+/*
+ * 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 HAVE_BATCH_FILE_INSERT 1 */
+#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
 
 /* Debug flags not normally turned on */