fix(query): fix tail result incorrect when column containing null value
TD-16122
This commit is contained in:
parent
e640a4ad82
commit
edf66a3572
|
@ -3776,6 +3776,7 @@ static void tailAssignResult(STailItem* pItem, char *data, int32_t colBytes, TSK
|
|||
if (isNull) {
|
||||
pItem->isNull = true;
|
||||
} else {
|
||||
pItem->isNull = false;
|
||||
memcpy(pItem->data, data, colBytes);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue