Skip to content

Commit 332b090

Browse files
committed
Fix a typo
1 parent 45e4b3e commit 332b090

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

storage/rocksdb/rdb_locking_iter.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ class LockingIterator : public rocksdb::Iterator {
152152
rocksdb::Slice end;
153153
uchar buf[Rdb_key_def::INDEX_NUMBER_SIZE];
154154
uint size;
155+
if (forward) {
156+
if (m_read_opts.iterate_upper_bound)
155157
end = *m_read_opts.iterate_upper_bound;
156158
else {
157159
if (m_kd->m_is_reverse_cf)

0 commit comments

Comments
 (0)