0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::db: Use dead branch rather than comment for has() regression for now.

This commit is contained in:
Jason Volk 2018-10-21 04:41:21 -07:00
parent 2b0fd97b86
commit 7b4b6c479c

View file

@ -8007,11 +8007,10 @@ ircd::db::has(column &column,
database::column &c(column);
// Perform a co-RP query to the filtration
/*
// NOTE disabled for rocksdb >= v5.15 due to a regression
// where rocksdb does not init SuperVersion data in the column
// family handle and this codepath triggers null derefs and ub.
if(c.table_opts.filter_policy)
if(0 && c.table_opts.filter_policy)
{
const auto k(slice(key));
auto opts(make_opts(gopts));
@ -8020,7 +8019,6 @@ ircd::db::has(column &column,
if(!d.d->KeyMayExist(opts, c, k, &discard, nullptr))
return false;
}
*/
const auto it
{