提交 be296c25 编写于 作者: H Haojun Liao

[TD-225] refactor codes.

上级 b81629e0
......@@ -788,7 +788,7 @@ static int32_t getRowExpandSize(STableMeta* pTableMeta) {
}
static void extractTableMeta(SSqlCmd* pCmd) {
pCmd->numOfTables = taosHashGetSize(pCmd->pTableBlockHashList);
pCmd->numOfTables = (int32_t) taosHashGetSize(pCmd->pTableBlockHashList);
pCmd->pTableMetaList = calloc(pCmd->numOfTables, POINTER_BYTES);
STableDataBlocks **p1 = taosHashIterate(pCmd->pTableBlockHashList, NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册