Fix: Use the bt_iter_set_pos function to set the begin_pos
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 21 Nov 2013 23:07:20 +0000 (18:07 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Feb 2014 17:03:11 +0000 (12:03 -0500)
commitd1a8007841cfe81b1284f8541e0092f9f0aba271
tree29e3b71bba1372df7d965ae6d80a9e0971fcb7c4
parentbedf64a9bfdf8fffefd7ced1ea3993a1b5852e6d
Fix: Use the bt_iter_set_pos function to set the begin_pos

The current implementation of bt_iter_init asserts on begin_pos
that are not BT_SEEK_BEGIN. This uses the iterator set_pos function
to achieve the intended behavior.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/iterator.c
This page took 0.024646 seconds and 4 git commands to generate.