[TD-228] fix python connector to support binary interface change

This commit is contained in:
liu0x54 2020-05-08 01:25:01 +00:00
parent af7e3ffa29
commit 002b7ea5fb
1 changed files with 1 additions and 1 deletions

View File

@ -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<num_fields; i++){