Skip to content

Commit bc2ff59

Browse files
committed
Fixed wrong comment GetTableMetaData -> GetLiveFilesMetaData
1 parent 9a270f3 commit bc2ff59

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/rocksdb/db.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class DB {
260260

261261
// GetLiveFiles followed by GetSortedWalFiles can generate a lossless backup
262262

263-
// THIS METHOD IS DEPRECATED. Use the GetTableMetaData to get more
263+
// THIS METHOD IS DEPRECATED. Use the GetLiveFilesMetaData to get more
264264
// detailed information on the live files.
265265
// Retrieve the list of all files in the database. The files are
266266
// relative to the dbname and are not absolute paths. The valid size of the
@@ -301,9 +301,7 @@ class DB {
301301

302302
// Returns a list of all table files with their level, start key
303303
// and end key
304-
virtual void GetLiveFilesMetaData(
305-
std::vector<LiveFileMetaData> *metadata) {
306-
}
304+
virtual void GetLiveFilesMetaData(std::vector<LiveFileMetaData>* metadata) {}
307305

308306
// Sets the globally unique ID created at database creation time by invoking
309307
// Env::GenerateUniqueId(), in identity. Returns Status::OK if identity could

0 commit comments

Comments
 (0)