TD-12506 merge 3.0
This commit is contained in:
parent
b98c6f7e04
commit
3813df6c2e
|
@ -240,7 +240,7 @@ TAOS_RES *taos_query_l(TAOS *taos, const char *sql, int sqlLen) {
|
|||
_return:
|
||||
qDestoryQuery(pQuery);
|
||||
qDestroyQueryDag(pDag);
|
||||
if (NULL != pRequest) {
|
||||
if (NULL != pRequest && TSDB_CODE_SUCCESS != terrno) {
|
||||
pRequest->code = terrno;
|
||||
}
|
||||
return pRequest;
|
||||
|
|
Loading…
Reference in New Issue