[TD-2433]<fix>: fix the bug that server_status() not working.
This commit is contained in:
parent
112ebfa12b
commit
261adee98a
|
@ -823,6 +823,9 @@ static int32_t tscProcessClientVer(SSqlObj *pSql) {
|
|||
// TODO add test cases.
|
||||
static int32_t checkForOnlineNode(SSqlObj* pSql) {
|
||||
int32_t* data = pSql->res.length;
|
||||
if (data == NULL) {
|
||||
return TSDB_CODE_SUCCESS;
|
||||
}
|
||||
|
||||
int32_t total = data[0];
|
||||
int32_t online = data[1];
|
||||
|
|
Loading…
Reference in New Issue