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

[TD-225]fix bugs found in regression test.

上级 04fb064e
......@@ -192,7 +192,7 @@ void tVariantAssign(tVariant *pDst, const tVariant *pSrc) {
}
if (IS_NUMERIC_TYPE(pSrc->nType)) {
if (IS_NUMERIC_TYPE(pSrc->nType) || (pSrc->nType == TSDB_DATA_TYPE_BOOL)) {
pDst->i64 = pSrc->i64;
} else if (pSrc->nType == TSDB_DATA_TYPE_ARRAY) { // this is only for string array
size_t num = taosArrayGetSize(pSrc->arr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册