mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
remove unused variable
update test update
This commit is contained in:
parent
dfdf756b6a
commit
f637f4f2d1
@ -81,7 +81,6 @@ void StorageFileLog::init()
|
||||
}
|
||||
else if (std::filesystem::is_directory(path))
|
||||
{
|
||||
path_is_directory = true;
|
||||
/// Just consider file with depth 1
|
||||
for (const auto & dir_entry : std::filesystem::directory_iterator{path})
|
||||
{
|
||||
|
@ -66,7 +66,6 @@ protected:
|
||||
private:
|
||||
std::unique_ptr<FileLogSettings> filelog_settings;
|
||||
const String path;
|
||||
bool path_is_directory = false;
|
||||
|
||||
const String format_name;
|
||||
Poco::Logger * log;
|
||||
|
@ -47,18 +47,22 @@ cp ${user_files_path}/logs/a.txt ${user_files_path}/logs/d.txt
|
||||
mv ${user_files_path}/logs/a.txt ${user_files_path}/logs/e.txt
|
||||
rm ${user_files_path}/logs/e.txt
|
||||
|
||||
for i in 1 2 3 4 5
|
||||
# the max value of reschedule time is 32s, so 40s should
|
||||
# always be enough to finish streamToViews
|
||||
for _ in {1..400}
|
||||
do
|
||||
sleep 1
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
${CLICKHOUSE_CLIENT} --query "select * from mv order by k;"
|
||||
|
||||
echo 111, 111 >> ${user_files_path}/logs/c.txt
|
||||
|
||||
for i in 1 2 3 4 5
|
||||
# the max value of reschedule time is 32s, so 40s should
|
||||
# always be enough to finish streamToViews
|
||||
for _ in {1..400}
|
||||
do
|
||||
sleep 1
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
${CLICKHOUSE_CLIENT} --query "select * from mv order by k;"
|
||||
|
Loading…
Reference in New Issue
Block a user