1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-05 16:15:50 +03:00

chore(ci): collect asan ubsan and libc++ build with mtr and regression status ignored (#3672)

* MSan added with fixes for libc++

* libc++ sepatare build

* add libc++ to ci

* libstdc++ in CI

* libcpp and msan to external projects

* std::sqrt

* awful_hack(ci): install whole llvm instead of libc++ in terrible way for test containers

* Adding ddeb packages for teststages and repos

* libc++ more for test container

* save some money on debug

* colored coredumps

* revert ci

* chore(ci): collect asan ubsan and libc++ build with mtr and regression status ignored
This commit is contained in:
Leonid Fedorov
2025-07-31 00:32:32 +04:00
committed by GitHub
parent 2e2b4b3f82
commit 82421c208f
130 changed files with 715 additions and 549 deletions

View File

@@ -1,12 +1,11 @@
#include <my_config.h>
#include <cmath>
#include <iostream>
#include <sstream>
#include <string.h>
using namespace std;
#include "idb_mysql.h"
using namespace std;
namespace
{
inline bool isNumeric(int type, const char* attr)
@@ -596,8 +595,8 @@ extern "C"
// When var_popy is 0, 1 is the result
return 1;
}
long double std_popx = sqrt(var_popx);
long double std_popy = sqrt(var_popy);
long double std_popx = std::sqrt(var_popx);
long double std_popy = std::sqrt(var_popy);
long double covar_pop = (sumxy - ((sumx * sumy) / N)) / N;
long double corr = covar_pop / (std_popy * std_popx);
valOut = static_cast<double>(corr * corr);
@@ -716,8 +715,8 @@ extern "C"
// When var_popy is 0, 1 is the result
return 1;
}
long double std_popx = sqrt(var_popx);
long double std_popy = sqrt(var_popy);
long double std_popx = std::sqrt(var_popx);
long double std_popy = std::sqrt(var_popy);
long double covar_pop = (sumxy - ((sumx * sumy) / N)) / N;
long double corr = covar_pop / (std_popy * std_popx);
return static_cast<double>(corr);