Lines Matching refs:dbname_
77 dbname_ = test::PerThreadDBPath(env_, path); in DBTestBase()
78 alternative_wal_dir_ = dbname_ + "/wal"; in DBTestBase()
79 alternative_db_log_dir_ = dbname_ + "/db_log_dir"; in DBTestBase()
84 EXPECT_OK(DestroyDB(dbname_, delete_options)); in DBTestBase()
86 EXPECT_OK(DestroyDB(dbname_, options)); in DBTestBase()
98 options.db_paths.emplace_back(dbname_, 0); in ~DBTestBase()
99 options.db_paths.emplace_back(dbname_ + "_2", 0); in ~DBTestBase()
100 options.db_paths.emplace_back(dbname_ + "_3", 0); in ~DBTestBase()
101 options.db_paths.emplace_back(dbname_ + "_4", 0); in ~DBTestBase()
105 printf("DB is still at %s\n", dbname_.c_str()); in ~DBTestBase()
107 EXPECT_OK(DestroyDB(dbname_, options)); in ~DBTestBase()
621 return DB::Open(db_opts, dbname_, column_families, &handles_, &db_); in TryReopenWithColumnFamilies()
660 ASSERT_OK(DestroyDB(dbname_, options, column_families)); in Destroy()
664 return DB::OpenForReadOnly(options, dbname_, &db_); in ReadOnlyReopen()
678 return DB::Open(options, dbname_, &db_); in TryReopen()
682 return test::IsDirectIOSupported(env_, dbname_); in IsDirectIOSupported()
1091 env_->GetChildren(dbname_, &files); in CountFiles()
1094 if (dbname_ != last_options_.wal_dir) { in CountFiles()
1382 env_->GetChildren(dbname_, &files); in GetAllSSTFiles()
1386 std::string file_path = dbname_ + "/" + file_name; in GetAllSSTFiles()