From 002b7ea5fbd1facbb8417464cd1628c49ec333d8 Mon Sep 17 00:00:00 2001 From: liu0x54 Date: Fri, 8 May 2020 01:25:01 +0000 Subject: [PATCH] [TD-228] fix python connector to support binary interface change --- src/plugins/http/src/gcJson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/http/src/gcJson.c b/src/plugins/http/src/gcJson.c index 98069f434d..544a11b5fc 100644 --- a/src/plugins/http/src/gcJson.c +++ b/src/plugins/http/src/gcJson.c @@ -125,7 +125,7 @@ bool gcBuildQueryJson(HttpContext *pContext, HttpSqlCmd *cmd, TAOS_RES *result, // for group by if (groupFields != -1) { - char target[HTTP_GC_TARGET_SIZE]; + char target[HTTP_GC_TARGET_SIZE] = {0}; int len; len = snprintf(target,HTTP_GC_TARGET_SIZE,"%s{",aliasBuffer); for (int i = dataFields + 1; i