0
0
Fork 0
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:
Jason Volk 2022-08-20 10:55:20 -07:00
parent 23e4df7a9d
commit 50c5c43d29

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;