Rename "common" to "base"

This commit is contained in:
Alexey Milovidov 2021-10-02 11:30:38 +03:00
parent fe6b7c77c7
commit 2ad5dbdfe8
9 changed files with 23 additions and 20 deletions

View File

@ -1,5 +1,5 @@
#pragma once
#include "common/extended_types.h"
#include <base/extended_types.h>
#if !defined(NO_SANITIZE_UNDEFINED)
#if defined(__clang__)

View File

@ -1,6 +1,6 @@
#include <stdexcept>
#include "common/getMemoryAmount.h"
#include "common/getPageSize.h"
#include <base/getMemoryAmount.h>
#include <base/getPageSize.h>
#include <unistd.h>
#include <sys/types.h>

View File

@ -1,7 +1,7 @@
#include "common/getPageSize.h"
#include <base/getPageSize.h>
#include <unistd.h>
Int64 getPageSize()
{
return sysconf(_SC_PAGESIZE);

View File

@ -1,6 +1,7 @@
#pragma once
#include "common/types.h"
#include <base/types.h>
/// Get memory page size
Int64 getPageSize();

View File

@ -1,4 +1,4 @@
#include "common/sleep.h"
#include <base/sleep.h>
#include <time.h>
#include <errno.h>

View File

@ -1,9 +1,9 @@
#if !defined(ARCADIA_BUILD)
# include <Common/config.h>
#endif
#include "Common/Exception.h"
#include "common/types.h"
#include "IO/VarInt.h"
#include <Common/Exception.h>
#include <base/types.h>
#include <IO/VarInt.h>
#include <Compression/CompressionFactory.h>
#include <Compression/CompressionCodecEncrypted.h>
#include <Poco/Logger.h>

View File

@ -3,6 +3,7 @@
#include <Functions/IFunction.h>
#include <Interpreters/Context_fwd.h>
namespace DB
{

View File

@ -1,11 +1,11 @@
#pragma once
#include "common/types.h"
#include "Storages/MergeTree/MergeTreeData.h"
#include "Storages/MergeTree/MergeTreeDataPartType.h"
#include "Storages/MergeTree/MergeTreePartInfo.h"
#include "Storages/MergeTree/MergeType.h"
#include "Storages/MergeTree/IMergeTreeDataPart.h"
#include <base/types.h>
#include <Storages/MergeTree/MergeTreeData.h>
#include <Storages/MergeTree/MergeTreeDataPartType.h>
#include <Storages/MergeTree/MergeTreePartInfo.h>
#include <Storages/MergeTree/MergeType.h>
#include <Storages/MergeTree/IMergeTreeDataPart.h>
namespace DB

View File

@ -1,9 +1,10 @@
#pragma once
#include "common/types.h"
#include "Common/ProfileEvents.h"
#include "IO/Progress.h"
#include "Storages/MergeTree/MergeList.h"
#include <base/types.h>
#include <Common/ProfileEvents.h>
#include <IO/Progress.h>
#include <Storages/MergeTree/MergeList.h>
namespace ProfileEvents
{