From 803a40d4123e8447a4b271ff5bb2e582ab45c6ef Mon Sep 17 00:00:00 2001 From: longlijian Date: Wed, 14 Jul 2021 16:04:01 -0700 Subject: [PATCH] Delete legacy code not used any more. (#8508) Summary: The removed function in this PR, just only have declared and dose not have any reference used. Pull Request resolved: https://github.com/facebook/rocksdb/pull/8508 Reviewed By: mrambacher Differential Revision: D29649033 Pulled By: jay-zhuang fbshipit-source-id: df98143b73d6c184a2a60c9f7ea2548a065ee35d --- db/db_impl/db_impl.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/db/db_impl/db_impl.h b/db/db_impl/db_impl.h index b38b6d14f7..0b65bd41da 100644 --- a/db/db_impl/db_impl.h +++ b/db/db_impl/db_impl.h @@ -1189,11 +1189,6 @@ class DBImpl : public DB { ColumnFamilyHandle* column_family, const Slice* begin, const Slice* end); - Status GetApproximateSizesInternal(const SizeApproximationOptions& options, - ColumnFamilyHandle* column_family, - const Range* range, int n, - uint64_t* sizes); - // The following two functions can only be called when: // 1. WriteThread::Writer::EnterUnbatched() is used. // 2. db_mutex is NOT held