From 4fbc7c3f31ef97f4a017847336caeb58ff5c6e9f Mon Sep 17 00:00:00 2001 From: feng lv Date: Sat, 18 Sep 2021 03:01:25 +0000 Subject: [PATCH] remove unused code --- src/Storages/FileLog/StorageFileLog.cpp | 4 ---- src/Storages/FileLog/StorageFileLog.h | 2 -- tests/queries/0_stateless/02023_storage_filelog.sh | 1 - 3 files changed, 7 deletions(-) diff --git a/src/Storages/FileLog/StorageFileLog.cpp b/src/Storages/FileLog/StorageFileLog.cpp index 6d380c17f38..10d838c84ec 100644 --- a/src/Storages/FileLog/StorageFileLog.cpp +++ b/src/Storages/FileLog/StorageFileLog.cpp @@ -307,10 +307,6 @@ bool StorageFileLog::streamToViews() return updateFileStatus(); } -void StorageFileLog::clearInvalidFiles() -{ -} - void registerStorageFileLog(StorageFactory & factory) { auto creator_fn = [](const StorageFactory::Arguments & args) diff --git a/src/Storages/FileLog/StorageFileLog.h b/src/Storages/FileLog/StorageFileLog.h index d035c0e2903..7df66b5c54f 100644 --- a/src/Storages/FileLog/StorageFileLog.h +++ b/src/Storages/FileLog/StorageFileLog.h @@ -101,8 +101,6 @@ private: void threadFunc(); - void clearInvalidFiles(); - size_t getPollMaxBatchSize() const; size_t getMaxBlockSize() const; size_t getPollTimeoutMillisecond() const; diff --git a/tests/queries/0_stateless/02023_storage_filelog.sh b/tests/queries/0_stateless/02023_storage_filelog.sh index 5a0333b1bc3..8b072dd65df 100755 --- a/tests/queries/0_stateless/02023_storage_filelog.sh +++ b/tests/queries/0_stateless/02023_storage_filelog.sh @@ -22,7 +22,6 @@ echo 8, 8 >> ${user_files_path}/logs/a.txt echo 9, 9 >> ${user_files_path}/logs/a.txt echo 10, 10 >> ${user_files_path}/logs/a.txt -### 1st TEST in CLIENT mode. ${CLICKHOUSE_CLIENT} --query "drop table if exists file_log;" ${CLICKHOUSE_CLIENT} --query "create table file_log(k UInt8, v UInt8) engine=FileLog('logs', 'CSV');"