summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2012-02-22 16:07:17 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2012-02-22 16:07:17 +1100
commit94b7a84cb118b0139c29bc247ead43c25ec60415 (patch)
tree52febfd6743f09588ed02fcbe2146c19bb1b5d9c
parente62384b1e9974fcedc5b17246661fcc57ca6ab2a (diff)
downloadsamba-94b7a84cb118b0139c29bc247ead43c25ec60415.tar.gz
samba-94b7a84cb118b0139c29bc247ead43c25ec60415.tar.xz
samba-94b7a84cb118b0139c29bc247ead43c25ec60415.zip
change TDB to be valgrind nice
(This used to be ctdb commit d306c3c9a53e012c412c96ab9743de6cd96826e0)
-rw-r--r--ctdb/lib/tdb/common/hash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/lib/tdb/common/hash.c b/ctdb/lib/tdb/common/hash.c
index c07297ec19..a29ba4a7a5 100644
--- a/ctdb/lib/tdb/common/hash.c
+++ b/ctdb/lib/tdb/common/hash.c
@@ -22,6 +22,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#define VALGRIND
+
#include "tdb_private.h"
/* This is based on the hash algorithm from gdbm */