diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index 1dbd5f00ab5d56200bd2c5077fbc7d54f47c7dbc..19d2a8d48d62544200980ed7e033465ba2c1de19 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -6493,7 +6493,7 @@ int32_t validateWhereNode(SQueryInfo* pQueryInfo, tSqlExpr** pExpr, SSqlObj* pSq } const char* msg1 = "invalid expression"; - const char* msg2 = "the timestamp column condition must be in an interval"; + //const char* msg2 = "the timestamp column condition must be in an interval"; int32_t ret = TSDB_CODE_SUCCESS; @@ -6545,9 +6545,9 @@ int32_t validateWhereNode(SQueryInfo* pQueryInfo, tSqlExpr** pExpr, SSqlObj* pSq } // check timestamp range - if (pQueryInfo->window.skey > pQueryInfo->window.ekey) { - return invalidOperationMsg(tscGetErrorMsgPayload(&pSql->cmd), msg2); - } + //if (pQueryInfo->window.skey > pQueryInfo->window.ekey) { + // return invalidOperationMsg(tscGetErrorMsgPayload(&pSql->cmd), msg2); + //} // get the tag query condition if ((ret = getTagQueryCondExpr(&pSql->cmd, pQueryInfo, &condExpr)) != TSDB_CODE_SUCCESS) { diff --git a/src/inc/vnode.h b/src/inc/vnode.h index 48ac7e627d172dfc347abf4703840b82e5944e89..bc357df6dad69410f755ff74b28ccd503d69fd8a 100644 --- a/src/inc/vnode.h +++ b/src/inc/vnode.h @@ -62,7 +62,7 @@ typedef struct { typedef struct { int32_t startTime; pthread_t* pthread; - sem_t* psem; + tsem_t* psem; void* param; } SWaitThread;