[PATCH] ldb-tdb: Add more information about full scan
Matthieu Patou
mat at matws.net
Tue Nov 23 14:14:10 MST 2010
---
source4/lib/ldb/ldb_tdb/ldb_search.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/source4/lib/ldb/ldb_tdb/ldb_search.c b/source4/lib/ldb/ldb_tdb/ldb_search.c
index b58243c..99f4587 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_search.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_search.c
@@ -582,7 +582,10 @@ int ltdb_search(struct ltdb_context *ctx)
/* useful for debugging when slow performance
* is caused by unindexed searches */
char *expression = ldb_filter_from_tree(ctx, ctx->tree);
- ldb_debug(ldb, LDB_DEBUG_WARNING, "ldb FULL SEARCH: %s\n", expression);
+ ldb_debug(ldb, LDB_DEBUG_WARNING, "ldb FULL SEARCH: %s BASE: %s\n",
+ expression,
+ ldb_dn_get_linearized(req->op.search.base));
+
talloc_free(expression);
}
if (match_count != 0) {
--
1.7.1
--------------060400050600050403000208
Content-Type: application/x-gzip;
name="fullscan.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="fullscan.gz"
H4sICNst7EwAA2luZGV4c2NhbgDtnU9v29aah/fzKVzgoogHccBDUhRVwAUydoopppMWkTOz
GSCgJdpmqz8GRTU1cD/MLGeAWc1u1vliQ8l+UyWum6TkeUxJP9xNbhrw4SH5PqQOfy/PZHz+
zcFkfH7w3esffjgYvnj+6uSfvzl48vWTr54Ui9N8klf5+Pjs1esXh4dP/l7/b/UfLsv58vrs
5jr/xj0Ln6Vx8My5qNdLnrln8bM0iL45dvW//vS/Cl3cj9MoidNP/uu43mZQb3SRTZ+PRvPl
rFr92+M06EVBEiXpw/9pcHh4ePBPz4cvvjk4PTmu/9F59rT+Q/5bNr2e5Ks/jubTf5h8wWGY
n/+cj6qTSbZYHP/j+42fvDz+bl7mxeVsmI+WZVHd/FQWs1FxnU0WT3eX/P3soswWVbkcVcsy
3zXc8GZR5dNdwZz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YN9sAhr2gtcizenFrPDDx2INnfRtbN7LSxl+/9XDHk4Du0DAA==
--------------060400050600050403000208--
More information about the samba-technical
mailing list