From c7f4b433f4261aba0583eb789ec6e5cdd22e5e61 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Sat, 9 Apr 2022 10:08:00 +0800 Subject: [PATCH] pass windows compilation --- src/common/src/texpr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/src/texpr.c b/src/common/src/texpr.c index 764253e540..76e949c441 100644 --- a/src/common/src/texpr.c +++ b/src/common/src/texpr.c @@ -2061,7 +2061,7 @@ void vectorMathFunc(int16_t functionId, tExprOperandInfo *pInputs, int32_t numIn if (!hasNullInputs) { switch (functionId) { case TSDB_FUNC_SCALAR_LOG: { - double base = M_E; + double base = 2.7182818284590452354; //const M_E if (numInputs == 2) { GET_TYPED_DATA(base, double, pInputs[1].type, inputData[1]); } -- GitLab