提交 a116378c 编写于 作者: G Ganlin Zhao

fix windows compilation error

上级 2f0db574
......@@ -982,10 +982,10 @@ static int32_t applyChildTableTags(TAOS* taos, char* cTableName, char* sTableNam
}
}
SArray* tagBinds = taosArrayInit(numTags + 1, sizeof(TAOS_BIND));
taosArraySetSize(tagBinds, numTags + 1);
SArray* tagBinds = taosArrayInit(numTags, sizeof(TAOS_BIND));
taosArraySetSize(tagBinds, numTags);
int isNullColBind = TSDB_TRUE;
for (int j = 0; j < numTags + 1; ++j) {
for (int j = 0; j < numTags; ++j) {
TAOS_BIND* bind = taosArrayGet(tagBinds, j);
bind->is_null = &isNullColBind;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册