提交 488f2fc4 编写于 作者: wmmhello's avatar wmmhello

fix bug

上级 a91392a9
......@@ -732,7 +732,7 @@ static void setResRawPtrImpl(SSqlRes* pRes, SInternalField* pInfo, int32_t i, bo
if(json) {
memcpy(varDataVal(dst), json, strlen(json));
varDataSetLen(dst, strlen(json));
assert(varDataTLen(dst) <= pInfo->field.type);
assert(varDataTLen(dst) <= pInfo->field.bytes);
tfree(json);
}
}else if (*p == SELECT_ELEMENT_JSON_TAG){
......@@ -5387,4 +5387,4 @@ void* getJsonTagValue(STable* pTable, char* key, int32_t keyLen, int16_t* retCol
return tdGetKVRowValOfCol(((STable*)(p->table))->tagVal, colId);
}
return NULL;
}
\ No newline at end of file
}
......@@ -43,7 +43,6 @@ class TDSimClient:
"qdebugFlag": "135",
"telemetryReporting": "0",
"enableCoreFile": "1",
"defaultJSONStrType": "binary",
}
def getLogDir(self):
......@@ -140,7 +139,6 @@ class TDDnode:
"qdebugFlag":"135",
"maxSQLLength":"1048576",
"enableCoreFile": "1",
"defaultJSONStrType": "binary",
}
def init(self, path):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册