0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-13 08:23:56 +01:00

ircd::db: Minor remove cruft. (related 942e8330e6)

ircd::ios: Minor cleanup.
This commit is contained in:
Jason Volk 2020-06-18 19:31:17 -07:00
parent 22f4fd5046
commit ba4c98d7e8
2 changed files with 2 additions and 10 deletions

View file

@ -47,10 +47,10 @@ namespace ircd::ios
extern asio::executor user;
extern asio::executor main;
bool available() noexcept;
const string_view &name(const descriptor &);
const string_view &name(const handler &);
bool available() noexcept;
const uint64_t &epoch() noexcept;
void forked_parent();

View file

@ -5192,14 +5192,6 @@ ircd::db::write(const row::delta *const &begin,
write(&deltas.front(), &deltas.front() + deltas.size(), sopts);
}
// Developer can specifically use RB_DEBUG_DB_SEEK_ROW without RB_DEBUG_DB_SEEK
// to only see a report of the row seek as a whole. If RB_DEBUG_DB_SEEK is
// enabled that implies RB_DEBUG_DB_SEEK_ROW as well.
//
#if !defined(RB_DEBUG_DB_SEEK_ROW) && defined(RB_DEBUG_DB_SEEK)
#define RB_DEBUG_DB_SEEK_ROW
#endif
size_t
ircd::db::seek(row &r,
const string_view &key,