From bc2ff597b8ef10148827c4ca9c72a7343b33e81b Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Mon, 10 Feb 2014 10:55:10 -0800 Subject: [PATCH] Fixed wrong comment GetTableMetaData -> GetLiveFilesMetaData --- include/rocksdb/db.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/rocksdb/db.h b/include/rocksdb/db.h index be86a78f6..155c49fe7 100644 --- a/include/rocksdb/db.h +++ b/include/rocksdb/db.h @@ -260,7 +260,7 @@ class DB { // GetLiveFiles followed by GetSortedWalFiles can generate a lossless backup - // THIS METHOD IS DEPRECATED. Use the GetTableMetaData to get more + // THIS METHOD IS DEPRECATED. Use the GetLiveFilesMetaData to get more // detailed information on the live files. // Retrieve the list of all files in the database. The files are // relative to the dbname and are not absolute paths. The valid size of the @@ -301,9 +301,7 @@ class DB { // Returns a list of all table files with their level, start key // and end key - virtual void GetLiveFilesMetaData( - std::vector *metadata) { - } + virtual void GetLiveFilesMetaData(std::vector* metadata) {} // Sets the globally unique ID created at database creation time by invoking // Env::GenerateUniqueId(), in identity. Returns Status::OK if identity could