提交 5e8a27d2 编写于 作者: W wpan

fix taosd crash issue

上级 c7173ce1
...@@ -1147,10 +1147,10 @@ int tscBuildQueryMsg(SSqlObj *pSql, SSqlInfo *pInfo) { ...@@ -1147,10 +1147,10 @@ int tscBuildQueryMsg(SSqlObj *pSql, SSqlInfo *pInfo) {
*((int16_t *)pMsg) = htons(pCol->colId); *((int16_t *)pMsg) = htons(pCol->colId);
pMsg += sizeof(pCol->colId); pMsg += sizeof(pCol->colId);
*((int16_t *)pMsg) += htons(pCol->colIndex); *((int16_t *)pMsg) = htons(pCol->colIndex);
pMsg += sizeof(pCol->colIndex); pMsg += sizeof(pCol->colIndex);
*((int16_t *)pMsg) += htons(pCol->flag); *((int16_t *)pMsg) = htons(pCol->flag);
pMsg += sizeof(pCol->flag); pMsg += sizeof(pCol->flag);
memcpy(pMsg, pCol->name, tListLen(pCol->name)); memcpy(pMsg, pCol->name, tListLen(pCol->name));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册