fix(query): fix tail result incorrect when column containing null value

TD-16122
This commit is contained in:
Ganlin Zhao 2022-05-30 16:56:43 +08:00
parent e640a4ad82
commit edf66a3572
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
}