Add new public method seq_per_batch() to DBImpl

This commit is contained in:
Yanqin Jin 2022-04-18 09:21:31 -07:00
parent 14a7f26642
commit 41b0c6cb89

View File

@ -1174,6 +1174,8 @@ class DBImpl : public DB {
static void TEST_ResetDbSessionIdGen();
static std::string GenerateDbSessionId(Env* env);
bool seq_per_batch() const { return seq_per_batch_; }
protected:
const std::string dbname_;
// TODO(peterd): unify with VersionSet::db_id_