git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4-ldb: added an environment varibale LDB_WARN_UNINDEXED
[ira/wip.git]
/
source4
/
lib
/
ldb
/
ldb_tdb
/
ldb_tdb.c
diff --git
a/source4/lib/ldb/ldb_tdb/ldb_tdb.c
b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
index 2e88989d574ad28207a117a61d612c640aa2a856..066d4085bbacff3466b209605351a503bb2a47da 100644
(file)
--- a/
source4/lib/ldb/ldb_tdb/ldb_tdb.c
+++ b/
source4/lib/ldb/ldb_tdb/ldb_tdb.c
@@
-1463,6
+1463,10
@@
static int ltdb_connect(struct ldb_context *ldb, const char *url,
return LDB_ERR_OPERATIONS_ERROR;
}
+ if (getenv("LDB_WARN_UNINDEXED")) {
+ ltdb->warn_unindexed = true;
+ }
+
ltdb->sequence_number = 0;
module = ldb_module_new(ldb, ldb, "ldb_tdb backend", <db_ops);