From 14c02e4585a04fbd2f5859c08c2fceb418109d81 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Fri, 8 Apr 2022 11:28:07 +0800 Subject: [PATCH] remove assert not neccessary --- src/common/src/texpr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/src/texpr.c b/src/common/src/texpr.c index 876da5eb6a..764253e540 100644 --- a/src/common/src/texpr.c +++ b/src/common/src/texpr.c @@ -2061,7 +2061,6 @@ void vectorMathFunc(int16_t functionId, tExprOperandInfo *pInputs, int32_t numIn if (!hasNullInputs) { switch (functionId) { case TSDB_FUNC_SCALAR_LOG: { - assert(numInputs == 1 || numInputs == 2); double base = M_E; if (numInputs == 2) { GET_TYPED_DATA(base, double, pInputs[1].type, inputData[1]); -- GitLab