From a41312d5242f91f1ba80629ff3a317839080df33 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Thu, 19 Nov 2020 10:51:39 +0800 Subject: [PATCH] [TD-225] --- src/client/src/tscSql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscSql.c b/src/client/src/tscSql.c index ddff004f82..fa4dcd1a76 100644 --- a/src/client/src/tscSql.c +++ b/src/client/src/tscSql.c @@ -805,7 +805,7 @@ bool taos_is_null(TAOS_RES *res, int32_t row, int32_t col) { return true; } - return isNull(pSql->res.urow[col] + row * pInfo->field.bytes, pInfo->field.type); + return isNull(((char*) pSql->res.urow[col]) + row * pInfo->field.bytes, pInfo->field.type); } int taos_print_row(char *str, TAOS_ROW row, TAOS_FIELD *fields, int num_fields) { -- GitLab