*/
#undef VERSION
-#define VERSION "2.1.6"
-#define BDATE "31 March 2007"
-#define LSMDATE "31Mar07"
+#define VERSION "2.3.3"
+#define BDATE "06 September 2007"
+#define LSMDATE "06Sep07"
#define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n"
#define BYEAR "2007" /* year for copyright messages in progs */
many others, a complete list can be found in the file AUTHORS.
This program is Free Software; you can redistribute it and/or
modify it under the terms of version two of the GNU General Public
- License as published by the Free Software Foundation plus additions
- that are listed in the file LICENSE.
+ License as published by the Free Software Foundation and included
+ in the file LICENSE.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
#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 */