diff --git a/src/client/src/tscLocal.c b/src/client/src/tscLocal.c index dcf9c468b16f78a15bf904d4328cc0d573a7638e..16b3f31a8f253d1bff01a60b652f6b6589fec152 100644 --- a/src/client/src/tscLocal.c +++ b/src/client/src/tscLocal.c @@ -172,7 +172,7 @@ static int32_t tscSetValueToResObj(SSqlObj *pSql, int32_t rowLen) { char *target = pRes->data + tscFieldInfoGetOffset(pCmd, 3) * totalNumOfRows + pField->bytes * i; if (isNull(pTagValue, pSchema[i].type)) { - sprintf(target, "%s ", TSDB_DATA_NULL_STR); + sprintf(target, "%s", TSDB_DATA_NULL_STR); } else { switch (pSchema[i].type) { case TSDB_DATA_TYPE_BINARY: