ircd:Ⓜ️:room::type: Fix ascending order seek correctness; for now.

This commit is contained in:
Jason Volk 2022-08-20 10:55:20 -07:00
parent 23e4df7a9d
commit 50c5c43d29
1 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,11 @@ const
if(!desc && int64_t(depth) >= range.second)
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)
break;