fix: a small bug

This commit is contained in:
Hongze Cheng 2024-03-14 14:27:22 +08:00
parent d9db5b015c
commit 2910ae3afb
1 changed files with 2 additions and 1 deletions

View File

@ -4032,7 +4032,8 @@ int32_t tValueColumnAppend(SValueColumn *valCol, const SValue *value) {
return code;
}
} else {
return tBufferPut(&valCol->data, &value->val, tDataTypes[value->type].bytes);
code = tBufferPut(&valCol->data, &value->val, tDataTypes[value->type].bytes);
if (code) return code;
}
valCol->numOfValues++;