fix building

This commit is contained in:
taiyang-li 2021-12-09 16:57:33 +08:00
parent 38020a33e4
commit 0eef092ded
2 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@ namespace ErrorCodes
{
extern const int BAD_ARGUMENTS;
extern const int LOGICAL_ERROR;
extern const int CANNOT_CREATE_DIRECTORY;
}
bool RemoteCacheController::loadInnerInformation(const fs::path & file_path)

View File

@ -371,7 +371,7 @@ ASTPtr StorageHive::extractKeyExpressionList(const ASTPtr & node)
/// Primary key consists of one column.
auto res = std::make_shared<ASTExpressionList>();
res->children.push_back(node);
return std::move(res);
return res;
}
}