mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix build without libraries
This commit is contained in:
parent
ce3d18e8c5
commit
7ea393ada8
1
.gitignore
vendored
1
.gitignore
vendored
@ -118,6 +118,7 @@ website/package-lock.json
|
|||||||
|
|
||||||
# clangd cache
|
# clangd cache
|
||||||
/.clangd
|
/.clangd
|
||||||
|
/.cache
|
||||||
|
|
||||||
/compile_commands.json
|
/compile_commands.json
|
||||||
|
|
||||||
|
@ -4,25 +4,24 @@
|
|||||||
|
|
||||||
#if !defined(ARCADIA_BUILD) && USE_STATS
|
#if !defined(ARCADIA_BUILD) && USE_STATS
|
||||||
|
|
||||||
|
# include <common/types.h>
|
||||||
|
# include <Common/PODArray.h>
|
||||||
|
|
||||||
#include <iostream>
|
# include <algorithm>
|
||||||
#include <vector>
|
# include <iostream>
|
||||||
#include <algorithm>
|
# include <vector>
|
||||||
|
|
||||||
#include <common/types.h>
|
|
||||||
#include <Common/PODArray.h>
|
|
||||||
|
|
||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
typedef struct _Variant
|
struct Variant
|
||||||
{
|
{
|
||||||
Float64 x;
|
Float64 x;
|
||||||
Float64 y;
|
Float64 y;
|
||||||
Float64 beats_control;
|
Float64 beats_control;
|
||||||
Float64 best;
|
Float64 best;
|
||||||
} Variant;
|
};
|
||||||
|
|
||||||
using Variants = PODArray<Variant>;
|
using Variants = PODArray<Variant>;
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include <gtest/gtest.h>
|
|
||||||
|
|
||||||
#include <Functions/abtesting.h>
|
#include <Functions/abtesting.h>
|
||||||
#include <iostream>
|
|
||||||
#include <stdio.h>
|
#if !defined(ARCADIA_BUILD) && USE_STATS
|
||||||
|
|
||||||
|
# include <gtest/gtest.h>
|
||||||
|
|
||||||
using namespace DB;
|
using namespace DB;
|
||||||
|
|
||||||
@ -97,3 +97,4 @@ TEST(BayesAB, gamma)
|
|||||||
ASSERT_EQ(0, max);
|
ASSERT_EQ(0, max);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user