mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
ircd::db: Fix erroneous calls when stacking overloads.
modules/s_keys: Fix erroneous calls when stacking overloads (regression).
This commit is contained in:
parent
9d48215aaa
commit
2f74142737
2 changed files with 8 additions and 2 deletions
|
@ -7407,7 +7407,12 @@ std::vector<std::string>
|
||||||
ircd::db::column_names(const std::string &path,
|
ircd::db::column_names(const std::string &path,
|
||||||
const std::string &options)
|
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
|
/// Note that if there is no database found at path we still return a
|
||||||
|
|
|
@ -21,7 +21,8 @@ ircd::m::verify(const m::keys &keys,
|
||||||
std::nothrow_t)
|
std::nothrow_t)
|
||||||
noexcept try
|
noexcept try
|
||||||
{
|
{
|
||||||
return verify(keys, std::nothrow);
|
verify(keys);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
catch(const std::exception &e)
|
catch(const std::exception &e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue