[TD-228] fix python connector to support binary interface change
This commit is contained in:
parent
af7e3ffa29
commit
002b7ea5fb
|
@ -125,7 +125,7 @@ bool gcBuildQueryJson(HttpContext *pContext, HttpSqlCmd *cmd, TAOS_RES *result,
|
||||||
|
|
||||||
// for group by
|
// for group by
|
||||||
if (groupFields != -1) {
|
if (groupFields != -1) {
|
||||||
char target[HTTP_GC_TARGET_SIZE];
|
char target[HTTP_GC_TARGET_SIZE] = {0};
|
||||||
int len;
|
int len;
|
||||||
len = snprintf(target,HTTP_GC_TARGET_SIZE,"%s{",aliasBuffer);
|
len = snprintf(target,HTTP_GC_TARGET_SIZE,"%s{",aliasBuffer);
|
||||||
for (int i = dataFields + 1; i<num_fields; i++){
|
for (int i = dataFields + 1; i<num_fields; i++){
|
||||||
|
|
Loading…
Reference in New Issue