From 2f5e903c10ccbe39c9bbf96abc6589e97c44fbb9 Mon Sep 17 00:00:00 2001 From: sundy-li <543950155@qq.com> Date: Mon, 21 Sep 2020 21:24:28 +0800 Subject: [PATCH] fix styles --- src/Storages/Rocksdb/StorageEmbeddedRocksdb.cpp | 3 +-- src/Storages/Rocksdb/StorageEmbeddedRocksdb.h | 3 ++- src/Storages/ya.make | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Storages/Rocksdb/StorageEmbeddedRocksdb.cpp b/src/Storages/Rocksdb/StorageEmbeddedRocksdb.cpp index 760fd756b16..5a99ed716b6 100644 --- a/src/Storages/Rocksdb/StorageEmbeddedRocksdb.cpp +++ b/src/Storages/Rocksdb/StorageEmbeddedRocksdb.cpp @@ -9,7 +9,6 @@ #include #include #include -#include #include #include @@ -85,7 +84,7 @@ static bool extractKeyImpl(const IAST & elem, Strings & res) } -/** Retrieve from the query a condition of the form `key = 'key'` or `key in ('xxx_') or `key like 'xxx%'`, from conjunctions in the WHERE clause. +/** Retrieve from the query a condition of the form `key = 'key'` or `key in ('xxx_'), from conjunctions in the WHERE clause. */ static std::pair extractKey(const ASTPtr & query) { diff --git a/src/Storages/Rocksdb/StorageEmbeddedRocksdb.h b/src/Storages/Rocksdb/StorageEmbeddedRocksdb.h index 6fbc6c04018..546e7e47dc6 100644 --- a/src/Storages/Rocksdb/StorageEmbeddedRocksdb.h +++ b/src/Storages/Rocksdb/StorageEmbeddedRocksdb.h @@ -30,7 +30,8 @@ struct Rocksdb delete rocksdb; } } - }; +}; + class StorageEmbeddedRocksdb final : public ext::shared_ptr_helper, public IStorage { diff --git a/src/Storages/ya.make b/src/Storages/ya.make index 0f14826d859..f45767d42f2 100644 --- a/src/Storages/ya.make +++ b/src/Storages/ya.make @@ -105,6 +105,7 @@ SRCS( MutationCommands.cpp PartitionCommands.cpp ReadInOrderOptimizer.cpp + Rocksdb/StorageEmbeddedRocksdb.cpp SelectQueryDescription.cpp SetSettings.cpp StorageBuffer.cpp