From b4f333922ac4c73c1c3cc5222048e4f1cb436e64 Mon Sep 17 00:00:00 2001 From: Harry Wong Date: Mon, 16 Apr 2018 16:46:22 -0700 Subject: [PATCH] Improve the comment on TableFactory::NewTableReader() Summary: `DBImpl::AddFile()` has been replaced by `DBImpl::IngestExternalFile()`. Closes https://github.com/facebook/rocksdb/pull/3726 Differential Revision: D7646875 Pulled By: ajkr fbshipit-source-id: 241eb7a8d88527fdc5c26b0c3f6faec3296451f8 --- include/rocksdb/table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rocksdb/table.h b/include/rocksdb/table.h index a86c763c0..e74f4669f 100644 --- a/include/rocksdb/table.h +++ b/include/rocksdb/table.h @@ -422,7 +422,7 @@ class TableFactory { // and cache the table object returned. // (2) SstFileReader (for SST Dump) opens the table and dump the table // contents using the iterator of the table. - // (3) DBImpl::AddFile() calls this function to read the contents of + // (3) DBImpl::IngestExternalFile() calls this function to read the contents of // the sst file it's attempting to add // // table_reader_options is a TableReaderOptions which contain all the