Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 532c89741 -> 99d0ed9bd


DISPATCH-309 - Fixed bug in hash prefix-search when the key iterator
wasn't in view ITER_ADDRESS_HASH


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/99d0ed9b
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/99d0ed9b
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/99d0ed9b

Branch: refs/heads/master
Commit: 99d0ed9bd8bda083a96b0c32dbfa953a99116ea6
Parents: 532c897
Author: Ted Ross <[email protected]>
Authored: Fri May 6 13:56:40 2016 -0400
Committer: Ted Ross <[email protected]>
Committed: Fri May 6 13:56:40 2016 -0400

----------------------------------------------------------------------
 src/iterator.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/99d0ed9b/src/iterator.c
----------------------------------------------------------------------
diff --git a/src/iterator.c b/src/iterator.c
index 3bd62cf..75d0196 100644
--- a/src/iterator.c
+++ b/src/iterator.c
@@ -753,7 +753,8 @@ bool qd_iterator_hash_and_reset(qd_field_iterator_t *iter, 
uint32_t *hash)
             iter->view_start_pointer.length = hash_segment->segment_length - 2;
         else
             iter->view_start_pointer.length = hash_segment->segment_length - 1;
-    }
+    } else
+        iter->view_start_pointer.length = hash_segment->segment_length;
 
     // Remove the tail from the hash segments since we have already compared 
it.
     DEQ_REMOVE_TAIL(iter->hash_segments);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to