0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-02 16:58:19 +02:00

ircd::db: Fix default description to include default column.

This commit is contained in:
Jason Volk 2018-04-26 16:22:16 -07:00
parent 69f6d1fe54
commit 173093e45a

View file

@ -323,9 +323,17 @@ ircd::db::shared_from(const database::column &column)
//
namespace ircd::db
{
database::description default_description;
extern const database::description default_description;
}
decltype(ircd::db::default_description)
ircd::db::default_description
{
/// Requirement of RocksDB going back to LevelDB. This column must
/// always exist in all descriptions and probably should be at idx[0].
{ "default" }
};
ircd::db::database::database(std::string name,
std::string optstr)
:database