...forgotten file.

This commit is contained in:
Bernhard Amann 2012-03-22 11:00:51 -07:00
parent 14c6c40042
commit 5f5209fcfb

View file

@ -760,9 +760,14 @@ int Manager::SendEntryTable(Filter* i, const Value* const *vals) {
hash_t valhash = 0; hash_t valhash = 0;
if ( filter->num_val_fields > 0 ) { if ( filter->num_val_fields > 0 ) {
HashKey* valhashkey = HashValues(filter->num_val_fields, vals+filter->num_idx_fields); HashKey* valhashkey = HashValues(filter->num_val_fields, vals+filter->num_idx_fields);
if ( valhashkey == 0 ) {
// empty line. index, but no values.
// hence we also have no hash value...
} else {
valhash = valhashkey->Hash(); valhash = valhashkey->Hash();
delete(valhashkey); delete(valhashkey);
} }
}
InputHash *h = filter->lastDict->Lookup(idxhash); InputHash *h = filter->lastDict->Lookup(idxhash);
if ( h != 0 ) { if ( h != 0 ) {