0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd::db: Default init invalid row values.

This commit is contained in:
Jason Volk 2017-09-12 14:06:28 -07:00
parent d3feb23a25
commit 8e9a25aa96

View file

@ -77,6 +77,8 @@ ircd::db::set(json::tuple<T...> &tuple,
for(auto &cell : row)
if(cell.valid())
json::set(tuple, cell.col(), cell.val());
else
json::set(tuple, cell.col(), string_view{});
return tuple;
}