ircd:Ⓜ️:room::type: Fix ascending order seek correctness; for now.
This commit is contained in:
parent
23e4df7a9d
commit
50c5c43d29
|
@ -88,6 +88,11 @@ const
|
||||||
if(!desc && int64_t(depth) >= range.second)
|
if(!desc && int64_t(depth) >= range.second)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
//XXX this column's comparator can cause a seek to be off by one in
|
||||||
|
// the wrong direction when ascending.
|
||||||
|
if(!desc && depth < range.first)
|
||||||
|
continue;
|
||||||
|
|
||||||
if(this->_type && !prefixing && this->_type != _type)
|
if(this->_type && !prefixing && this->_type != _type)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue