lib/ldb: Do not vasprintf() the tevent debug messages that will not be shown ldb-1.1.10
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Aug 2012 09:40:45 +0000 (19:40 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 9 Aug 2012 10:14:23 +0000 (20:14 +1000)
commit73f0cb5278e714740d0de75e6b0d0bf4c815491a
treefa5df779ed79dbf17ff30d647963e9c98d990f0b
parent7e562cf3eb8d8aabf9b5d62a92e67221e4f07e3a
lib/ldb: Do not vasprintf() the tevent debug messages that will not be shown

This malloc() and free() actually shows up quite high on a call profile of
provision of the AD DC.

This allows the debug handler to decide if the argument list should be
printed.

Andrew Bartlett
lib/ldb/ABI/ldb-1.1.10.sigs [new file with mode: 0644]
lib/ldb/ABI/pyldb-util-1.1.10.sigs [new file with mode: 0644]
lib/ldb/common/ldb.c
lib/ldb/common/ldb_debug.c
lib/ldb/include/ldb_module.h
lib/ldb/wscript