提交 d8a8d56c 编写于 作者: A Alex Duan

[TS-238]<feature>(tsdb): sem_t modify to tsem_t on mac os build

上级 3a639af0
...@@ -6493,7 +6493,7 @@ int32_t validateWhereNode(SQueryInfo* pQueryInfo, tSqlExpr** pExpr, SSqlObj* pSq ...@@ -6493,7 +6493,7 @@ int32_t validateWhereNode(SQueryInfo* pQueryInfo, tSqlExpr** pExpr, SSqlObj* pSq
} }
const char* msg1 = "invalid expression"; 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; int32_t ret = TSDB_CODE_SUCCESS;
...@@ -6545,9 +6545,9 @@ int32_t validateWhereNode(SQueryInfo* pQueryInfo, tSqlExpr** pExpr, SSqlObj* pSq ...@@ -6545,9 +6545,9 @@ int32_t validateWhereNode(SQueryInfo* pQueryInfo, tSqlExpr** pExpr, SSqlObj* pSq
} }
// check timestamp range // check timestamp range
if (pQueryInfo->window.skey > pQueryInfo->window.ekey) { //if (pQueryInfo->window.skey > pQueryInfo->window.ekey) {
return invalidOperationMsg(tscGetErrorMsgPayload(&pSql->cmd), msg2); // return invalidOperationMsg(tscGetErrorMsgPayload(&pSql->cmd), msg2);
} //}
// get the tag query condition // get the tag query condition
if ((ret = getTagQueryCondExpr(&pSql->cmd, pQueryInfo, &condExpr)) != TSDB_CODE_SUCCESS) { if ((ret = getTagQueryCondExpr(&pSql->cmd, pQueryInfo, &condExpr)) != TSDB_CODE_SUCCESS) {
......
...@@ -62,7 +62,7 @@ typedef struct { ...@@ -62,7 +62,7 @@ typedef struct {
typedef struct { typedef struct {
int32_t startTime; int32_t startTime;
pthread_t* pthread; pthread_t* pthread;
sem_t* psem; tsem_t* psem;
void* param; void* param;
} SWaitThread; } SWaitThread;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册