0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00
This commit is contained in:
Jason Volk 2019-01-11 18:15:46 -08:00
parent ba5701acca
commit 6a0b384d8f

View file

@ -3528,12 +3528,16 @@ try
(const string_view &prop)
{
const auto name(lstrip(prop, "rocksdb."));
const auto val
size_t val(0); try
{
c?
val = c?
db::property<db::prop_int>(c, prop):
db::property<db::prop_int>(d, prop)
};
db::property<db::prop_int>(d, prop);
}
catch(const std::exception &e)
{
log::derror{"%s", e.what()};
}
if(!!val) closeout(name, [&out, &val]
{
@ -3545,12 +3549,16 @@ try
(const string_view &prop)
{
const auto name(lstrip(prop, "rocksdb."));
const auto val
size_t val(0); try
{
c?
val = c?
db::property<db::prop_int>(c, prop):
db::property<db::prop_int>(d, prop)
};
db::property<db::prop_int>(d, prop);
}
catch(const std::exception &e)
{
log::derror{"%s", e.what()};
}
if(!!val) closeout(name, [&out, &val]
{