diff --git a/src/query/inc/qArithmeticOperator.h b/src/common/inc/tarithoperator.h similarity index 100% rename from src/query/inc/qArithmeticOperator.h rename to src/common/inc/tarithoperator.h diff --git a/src/query/src/qArithmeticOperator.c b/src/common/src/tarithoperator.c similarity index 99% rename from src/query/src/qArithmeticOperator.c rename to src/common/src/tarithoperator.c index 677951bd07ba5c61e9e1078dbe94eb692a4a218c..1cb667d259f040cfab0656562f7c97444fc48d8a 100644 --- a/src/query/src/qArithmeticOperator.c +++ b/src/common/src/tarithoperator.c @@ -15,9 +15,9 @@ #include "os.h" -#include "qArithmeticOperator.h" #include "ttype.h" #include "tutil.h" +#include "tarithoperator.h" #define ARRAY_LIST_OP(left, right, _left_type, _right_type, len1, len2, out, op, _res_type, _ord) \ { \ diff --git a/src/common/src/texpr.c b/src/common/src/texpr.c index b4edc2f382c09ac2cd29afc46b0bd560953153e3..f941fc45019dd5b267348de2a4fc1792638164e0 100644 --- a/src/common/src/texpr.c +++ b/src/common/src/texpr.c @@ -24,7 +24,7 @@ #include "tsdb.h" #include "tskiplist.h" #include "texpr.h" - +#include "tarithoperator.h" static uint8_t UNUSED_FUNC isQueryOnPrimaryKey(const char *primaryColumnName, const tExprNode *pLeft, const tExprNode *pRight) { if (pLeft->nodeType == TSQL_NODE_COL) {