提交 261adee9 编写于 作者: H Haojun Liao

[TD-2433]<fix>: fix the bug that server_status() not working.

上级 112ebfa1
...@@ -823,6 +823,9 @@ static int32_t tscProcessClientVer(SSqlObj *pSql) { ...@@ -823,6 +823,9 @@ static int32_t tscProcessClientVer(SSqlObj *pSql) {
// TODO add test cases. // TODO add test cases.
static int32_t checkForOnlineNode(SSqlObj* pSql) { static int32_t checkForOnlineNode(SSqlObj* pSql) {
int32_t* data = pSql->res.length; int32_t* data = pSql->res.length;
if (data == NULL) {
return TSDB_CODE_SUCCESS;
}
int32_t total = data[0]; int32_t total = data[0];
int32_t online = data[1]; int32_t online = data[1];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册