refactor: modify json compare in where condition

This commit is contained in:
wangmm0220 2022-04-18 21:05:34 +08:00
parent ad29963423
commit 134a161c72
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ void doSetOneRowPtr(SReqResultInfo* pResultInfo) {
int32_t bytes = pResultInfo->fields[i].bytes;
if (IS_VAR_DATA_TYPE(type)) {
if (!colDataIsNull_var(pCol,pResultInfo->current)) {
if (pCol->offset[pResultInfo->current] != -1) {
char* pStart = pResultInfo->pCol[i].offset[pResultInfo->current] + pResultInfo->pCol[i].pData;
pResultInfo->length[i] = varDataLen(pStart);