mirror of
https://github.com/matrix-construct/construct
synced 2024-12-23 22:13:55 +01:00
ircd:Ⓜ️:room::type: Fix ascending order seek correctness; for now.
This commit is contained in:
parent
23e4df7a9d
commit
50c5c43d29
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue