svn commit: samba r2712 - in
branches/SAMBA_4_0/source/lib/ldb/tools: .
tridge at samba.org
tridge at samba.org
Tue Sep 28 08:17:21 GMT 2004
Author: tridge
Date: 2004-09-28 08:17:20 +0000 (Tue, 28 Sep 2004)
New Revision: 2712
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib/ldb/tools&rev=2712&nolog=1
Log:
fixed a bug in ldbtest to make it cope with an existing index
Modified:
branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c 2004-09-28 06:12:07 UTC (rev 2711)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbtest.c 2004-09-28 08:17:20 UTC (rev 2712)
@@ -294,6 +294,8 @@
printf("Starting index test\n");
+ ldb_delete(*ldb, "@INDEXLIST");
+
memset(&msg, 0, sizeof(msg));
msg.dn = strdup("@INDEXLIST");
ldb_msg_add_string(*ldb, &msg, "@IDXATTR", strdup("uid"));
@@ -404,10 +406,10 @@
srandom(1);
+ start_test(ldb, nrecords, nsearches);
+
start_test_index(&ldb);
- start_test(ldb, nrecords, nsearches);
-
ldb_close(ldb);
return 0;
More information about the samba-cvs
mailing list