git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07882b5
)
r344: fixed deletion of index records
author
Andrew Tridgell
<tridge@samba.org>
Fri, 23 Apr 2004 13:09:53 +0000
(13:09 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:51:33 +0000
(12:51 -0500)
(This used to be commit
246f17cd4a7851042739574f1e07b113c44275c7
)
source4/lib/ldb/ldb_tdb/ldb_index.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/ldb_tdb/ldb_index.c
b/source4/lib/ldb/ldb_tdb/ldb_index.c
index 95162ae575bff12702e526e3f67e3393acbb14dc..05ae2bbc14f2bc20b4358442fe954b49ae7f03f2 100644
(file)
--- a/
source4/lib/ldb/ldb_tdb/ldb_index.c
+++ b/
source4/lib/ldb/ldb_tdb/ldb_index.c
@@
-731,7
+731,7
@@
int ltdb_index_del(struct ldb_context *ldb, const struct ldb_message *msg)
*/
static int delete_index(struct tdb_context *tdb, TDB_DATA key, TDB_DATA data, void *state)
{
- if (strncmp(key.dptr, "
@INDEX:", 7
) == 0) {
+ if (strncmp(key.dptr, "
DN=@INDEX:", 10
) == 0) {
return tdb_delete(tdb, key);
}
return 0;