]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/version.h
kes Turn on Batch insert code by default as it now passes regression.
[bacula/bacula] / bacula / src / version.h
1 /*
2  *  Version $Id$
3  */
4
5 #undef  VERSION
6 #define VERSION "2.1.6"
7 #define BDATE   "26 March 2007"
8 #define LSMDATE "26Mar07"
9
10 #define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n"
11 #define BYEAR "2007"       /* year for copyright messages in progs */
12
13 /*
14    Bacula® - The Network Backup Solution
15
16    Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
17
18    The main author of Bacula is Kern Sibbald, with contributions from
19    many others, a complete list can be found in the file AUTHORS.
20    This program is Free Software; you can redistribute it and/or
21    modify it under the terms of version two of the GNU General Public
22    License as published by the Free Software Foundation plus additions
23    that are listed in the file LICENSE.
24
25    This program is distributed in the hope that it will be useful, but
26    WITHOUT ANY WARRANTY; without even the implied warranty of
27    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28    General Public License for more details.
29
30    You should have received a copy of the GNU General Public License
31    along with this program; if not, write to the Free Software
32    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
33    02110-1301, USA.
34
35    Bacula® is a registered trademark of John Walker.
36    The licensor of Bacula is the Free Software Foundation Europe
37    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
38    Switzerland, email:ftf@fsfeurope.org.
39 */
40
41
42 /* Debug flags */
43 #undef  DEBUG
44 #define DEBUG 1
45 #define TRACEBACK 1
46 #define SMCHECK
47 #define TRACE_FILE 1
48
49 /* If this is set stdout will not be closed on startup */
50 #define DEVELOPER 1
51
52 #define DATA_ENCRYPTION 1
53
54 #define USE_BSNPRINTF 1
55
56 /* Turn on the following flag to enable batch attribute inserts
57  *  in the catalog.  This gives a large speedup.
58  */
59 #define HAVE_BATCH_FILE_INSERT 1
60
61
62 /* Debug flags not normally turned on */
63
64 /* #define TRACE_JCR_CHAIN 1 */
65 /* #define TRACE_RES 1 */
66 /* #define DEBUG_MEMSET 1 */
67 /* #define DEBUG_MUTEX 1 */
68
69 /*
70  * Set SMALLOC_SANITY_CHECK to zero to turn off, otherwise
71  *  it is the maximum memory malloced before Bacula will
72  *  abort.  Except for debug situations, this should be zero
73  */
74 #define SMALLOC_SANITY_CHECK 0  /* 500000000  0.5 GB max */
75
76
77 /* Check if header of tape block is zero before writing */
78 /* #define DEBUG_BLOCK_ZEROING 1 */
79
80 /* #define FULL_DEBUG 1 */   /* normally on for testing only */
81
82 /* Turn this on ONLY if you want all Dmsg() to append to the
83  *   trace file. Implemented mainly for Win32 ...
84  */
85 /*  #define SEND_DMSG_TO_FILE 1 */
86
87
88 /* The following are turned on for performance testing */
89 /*  
90  * If you turn on the NO_ATTRIBUTES_TEST and rebuild, the SD
91  *  will receive the attributes from the FD, will write them
92  *  to disk, then when the data is written to tape, it will
93  *  read back the attributes, but they will not be sent to
94  *  the Director. So this will eliminate: 1. the comm time
95  *  to send the attributes to the Director. 2. the time it
96  *  takes the Director to put them in the catalog database.
97  */
98 /* #define NO_ATTRIBUTES_TEST 1 */
99
100 /* 
101 * If you turn on NO_TAPE_WRITE_TEST and rebuild, the SD
102 *  will do all normal actions, but will not write to the
103 *  Volume.  Note, this means a lot of functions such as
104 *  labeling will not work, so you must use it only when 
105 *  Bacula is going to append to a Volume. This will eliminate
106 *  the time it takes to write to the Volume (not the time
107 *  it takes to do any positioning).
108 */
109 /* #define NO_TAPE_WRITE_TEST 1 */
110
111 /*
112  * If you turn on FD_NO_SEND_TEST and rebuild, the FD will
113  *  not send any attributes or data to the SD. This will
114  *  eliminate the comm time sending to the SD.
115  */
116 /* #define FD_NO_SEND_TEST 1 */