diff --git a/options/customizable_test.cc b/options/customizable_test.cc index 32a4e05a478988d3ab6482116ced45353c86fff8..cb1700f69d131092aefe37df780b18c83b20fcd0 100644 --- a/options/customizable_test.cc +++ b/options/customizable_test.cc @@ -66,6 +66,7 @@ class TestCustomizable : public Customizable { const char* Name() const override { return name_.c_str(); } static const char* Type() { return "test.custom"; } +#ifndef ROCKSDB_LITE static Status CreateFromString(const ConfigOptions& opts, const std::string& value, std::unique_ptr* result); @@ -75,6 +76,7 @@ class TestCustomizable : public Customizable { static Status CreateFromString(const ConfigOptions& opts, const std::string& value, TestCustomizable** result); +#endif // ROCKSDB_LITE bool IsInstanceOf(const std::string& name) const override { if (name == kClassName()) { return true; @@ -146,6 +148,7 @@ class BCustomizable : public TestCustomizable { BOptions opts_; }; +#ifndef ROCKSDB_LITE static bool LoadSharedB(const std::string& id, std::shared_ptr* result) { if (id == "B") { @@ -159,7 +162,6 @@ static bool LoadSharedB(const std::string& id, } } -#ifndef ROCKSDB_LITE static int A_count = 0; static int RegisterCustomTestObjects(ObjectLibrary& library, const std::string& /*arg*/) { @@ -241,6 +243,7 @@ static void GetMapFromProperties( #endif // ROCKSDB_LITE } // namespace +#ifndef ROCKSDB_LITE Status TestCustomizable::CreateFromString( const ConfigOptions& config_options, const std::string& value, std::shared_ptr* result) { @@ -285,6 +288,7 @@ Status TestCustomizable::CreateFromString(const ConfigOptions& config_options, }, result); } +#endif // ROCKSDB_LITE class CustomizableTest : public testing::Test { public: