提交 14c02e45 编写于 作者: S shenglian zhou

remove assert not neccessary

上级 3b07b85e
...@@ -2061,7 +2061,6 @@ void vectorMathFunc(int16_t functionId, tExprOperandInfo *pInputs, int32_t numIn ...@@ -2061,7 +2061,6 @@ void vectorMathFunc(int16_t functionId, tExprOperandInfo *pInputs, int32_t numIn
if (!hasNullInputs) { if (!hasNullInputs) {
switch (functionId) { switch (functionId) {
case TSDB_FUNC_SCALAR_LOG: { case TSDB_FUNC_SCALAR_LOG: {
assert(numInputs == 1 || numInputs == 2);
double base = M_E; double base = M_E;
if (numInputs == 2) { if (numInputs == 2) {
GET_TYPED_DATA(base, double, pInputs[1].type, inputData[1]); GET_TYPED_DATA(base, double, pInputs[1].type, inputData[1]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册