0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

ircd::db: Fix erroneous calls when stacking overloads.

modules/s_keys: Fix erroneous calls when stacking overloads (regression).
This commit is contained in:
Jason Volk 2019-06-23 23:06:50 -06:00
parent 9d48215aaa
commit 2f74142737
2 changed files with 8 additions and 2 deletions

View file

@ -7407,7 +7407,12 @@ std::vector<std::string>
ircd::db::column_names(const std::string &path,
const std::string &options)
{
return column_names(path, db::options{options});
const rocksdb::DBOptions opts
{
db::options(options)
};
return column_names(path, opts);
}
/// Note that if there is no database found at path we still return a

View file

@ -21,7 +21,8 @@ ircd::m::verify(const m::keys &keys,
std::nothrow_t)
noexcept try
{
return verify(keys, std::nothrow);
verify(keys);
return true;
}
catch(const std::exception &e)
{