diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-15 10:00:24 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-15 14:52:00 -0700 |
commit | 4861194f39bf826f3405452adc172cf5c240715b (patch) | |
tree | 9089bce0f55a9a6026fa2887ff71c61153189abb /tests/summary.c | |
parent | 6a9c89b3aef02310030ff436cd545eef77b8d1ee (diff) | |
download | samba-4861194f39bf826f3405452adc172cf5c240715b.tar.gz samba-4861194f39bf826f3405452adc172cf5c240715b.tar.bz2 samba-4861194f39bf826f3405452adc172cf5c240715b.zip |
s4-ldb: cope better with corruption of tdb records
When doing an indexed search if we hit a corrupt record we abandoned
the indexed search and did a full search. The problem was that we
might have sent some records to the caller already, which means the
caller ended up with duplicate records. Fix this by returning a search
error if indexing returns an error and we have given any records to
the caller.
Diffstat (limited to 'tests/summary.c')
0 files changed, 0 insertions, 0 deletions