feat:support decimal in raw block
This commit is contained in:
parent
16979f9dc8
commit
d5510a047d
|
@ -14152,7 +14152,7 @@ static int32_t extractQueryResultSchema(const SNodeList* pProjections, int32_t*
|
|||
return terrno;
|
||||
}
|
||||
if (ppExtSchemas) *ppExtSchemas = taosMemoryCalloc(*numOfCols, sizeof(SExtSchema));
|
||||
if (!ppExtSchemas) {
|
||||
if (ppExtSchemas && *ppExtSchemas == NULL) {
|
||||
taosMemoryFreeClear(*pSchema);
|
||||
return terrno;
|
||||
}
|
||||
|
|
|
@ -213,6 +213,13 @@ int32_t init_env() {
|
|||
|
||||
buildDatabase(pConn, pRes);
|
||||
|
||||
pRes = taos_query(pConn, "drop topic if exists topic_query");
|
||||
if (taos_errno(pRes) != 0) {
|
||||
printf("error in drop topic, reason:%s\n", taos_errstr(pRes));
|
||||
return -1;
|
||||
}
|
||||
taos_free_result(pRes);
|
||||
|
||||
pRes = taos_query(pConn, "drop database if exists db_query");
|
||||
if (taos_errno(pRes) != 0) {
|
||||
printf("error in drop db_taosx, reason:%s\n", taos_errstr(pRes));
|
||||
|
|
Loading…
Reference in New Issue