[TD-225]fix bugs found in regression test.
This commit is contained in:
parent
04fb064eeb
commit
eb2c2b35bb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue