mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 08:24:08 +01:00
ircd::db: Fix default description to include default column.
This commit is contained in:
parent
69f6d1fe54
commit
173093e45a
1 changed files with 9 additions and 1 deletions
10
ircd/db.cc
10
ircd/db.cc
|
@ -323,9 +323,17 @@ ircd::db::shared_from(const database::column &column)
|
||||||
//
|
//
|
||||||
namespace ircd::db
|
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,
|
ircd::db::database::database(std::string name,
|
||||||
std::string optstr)
|
std::string optstr)
|
||||||
:database
|
:database
|
||||||
|
|
Loading…
Reference in a new issue